On Mon, Mar 7, 2011 at 9:09 AM, Barry Scott <ba...@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   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to