mirror of
https://github.com/python/cpython.git
synced 2024-12-01 13:55:45 +08: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
@ -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…
Reference in New Issue
Block a user