[issue5630] Create alternatieve CObject API that is safe and clean

Larry Hastings report at bugs.python.org
Thu Apr 16 14:56:41 CEST 2009


Larry Hastings <larry at hastings.org> added the comment:

Whoopsie-daisy, I forgot to touch up a whole lot of places to match the
new API.  Attached is an updated patch; here's what changed:
* The documentation is now much better; there is a capsule.rst, and
cobject.rst has a deprecation warning.
* Added a deprecation warning in a comment to Include/cobject.h.
* Added the PyCapsule APIs to refcounts.dat and the .def files for OS/2
builds.
* Changed a commented mention of "CObject" to "Capsule" in
Lib/test/test_sys.py.

----------
Added file: http://bugs.python.org/file13706/lch.capsule.r71641.diff.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5630>
_______________________________________


More information about the Python-bugs-list mailing list