On Mon, Mar 7, 2011 at 9:09 AM, Barry Scott <barry at barrys-emacs.org> wrote: > I see that PyCObject_AsVoidPtr has been removed from python 3.2. > The 3.2 docs do not seem to explain this has happened and what > to replace it with. > > I searched the 3.2 docs and failed to find PyCObject_AsVoidPtr. > I looked at the whats new page and the API PEP. Did I miss > where this is documented? The CObject API was deprecated in Python 3.1 before its complete removal in 3.2. Its deprecation and planned replacement with the Capsule API was mentioned briefly in the 3.1 What's New document and a deprecation warning and redirection were included in the 3.1 documentation: http://docs.python.org/release/3.1.3/c-api/cobject.html Details on the API replacement can be found here: http://bugs.python.org/issue5630 Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4