summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.2.rst
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-03 22:43:08 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-03 22:43:08 (GMT)
commit661730e2aaa414f9b6a3eb1df020e4de01bb92f0 (patch)
tree27de5c5ba2af4f717e79966d8eccc2055f2f20d3 /Doc/whatsnew/3.2.rst
parent3387f4887fee9968ef9c709f9d8befdeb4e1e56c (diff)
downloadcpython-661730e2aaa414f9b6a3eb1df020e4de01bb92f0.zip
cpython-661730e2aaa414f9b6a3eb1df020e4de01bb92f0.tar.gz
cpython-661730e2aaa414f9b6a3eb1df020e4de01bb92f0.tar.bz2
Add an entry in whatsnew about the PyCObject -> PyCapsule move.
(It seems that I am the first SWIG user to try python 3.2...)
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r--Doc/whatsnew/3.2.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 1ba9988..e3cf864 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.