[Python-checkins] r84483 - python/branches/py3k/Doc/whatsnew/3.2.rst

amaury.forgeotdarc python-checkins at python.org
Sat Sep 4 00:43:08 CEST 2010


Author: amaury.forgeotdarc
Date: Sat Sep  4 00:43:08 2010
New Revision: 84483

Log:
Add an entry in whatsnew about the PyCObject -> PyCapsule move.

(It seems that I am the first SWIG user to try python 3.2...)


Modified:
   python/branches/py3k/Doc/whatsnew/3.2.rst

Modified: python/branches/py3k/Doc/whatsnew/3.2.rst
==============================================================================
--- python/branches/py3k/Doc/whatsnew/3.2.rst	(original)
+++ python/branches/py3k/Doc/whatsnew/3.2.rst	Sat Sep  4 00:43:08 2010
@@ -282,3 +282,7 @@
   * "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.


More information about the Python-checkins mailing list