mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Add an entry in whatsnew about the PyCObject -> PyCapsule move.
(It seems that I am the first SWIG user to try python 3.2...)
This commit is contained in:
parent
3387f4887f
commit
661730e2aa
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue