From 661730e2aaa414f9b6a3eb1df020e4de01bb92f0 Mon Sep 17 00:00:00 2001 From: Amaury Forgeot d'Arc Date: Fri, 3 Sep 2010 22:43:08 +0000 Subject: [PATCH] Add an entry in whatsnew about the PyCObject -> PyCapsule move. (It seems that I am the first SWIG user to try python 3.2...) --- Doc/whatsnew/3.2.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 1ba9988d2d2..e3cf86447cd 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.