]> granicus.if.org Git - python/commitdiff
Add an entry in whatsnew about the PyCObject -> PyCapsule move.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 3 Sep 2010 22:43:08 +0000 (22:43 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 3 Sep 2010 22:43:08 +0000 (22:43 +0000)
(It seems that I am the first SWIG user to try python 3.2...)

Doc/whatsnew/3.2.rst

index 1ba9988d2d26cc962b2ecde29c62f00e004907d3..e3cf86447cd75f5893cc29b88eec38ba5d32888b 100644 (file)
@@ -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.