From: Amaury Forgeot d'Arc Date: Fri, 3 Sep 2010 22:43:08 +0000 (+0000) Subject: Add an entry in whatsnew about the PyCObject -> PyCapsule move. X-Git-Tag: v3.2a2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=661730e2aaa414f9b6a3eb1df020e4de01bb92f0;p=python Add an entry in whatsnew about the PyCObject -> PyCapsule move. (It seems that I am the first SWIG user to try python 3.2...) --- diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 1ba9988d2d..e3cf86447c 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -282,3 +282,7 @@ that may require changes to your code: * "t#" format has been removed: use "s#" or "s*" instead * "w" and "w#" formats has been removed: use "w*" instead +* The :ctype:`PyCObject` type, deprecated in 3.1, has been removed. To wrap + opaque C pointers in Python objects, the :ctype:`PyCapsule` API should be + used instead; the new type has a well defined interface for passing typing + safety information and a less complicated signature for calling a destructor.