Changeset 388 for python/vendor/current/Include/cobject.h
- Timestamp:
- Mar 19, 2014, 11:11:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/vendor/current/Include/cobject.h
r2 r388 1 /* 2 CObjects are marked Pending Deprecation as of Python 2.7. 3 The full schedule for 2.x is as follows: 4 - CObjects are marked Pending Deprecation in Python 2.7. 5 - CObjects will be marked Deprecated in Python 2.8 6 (if there is one). 7 - CObjects will be removed in Python 2.9 (if there is one). 8 9 Additionally, for the Python 3.x series: 10 - CObjects were marked Deprecated in Python 3.1. 11 - CObjects will be removed in Python 3.2. 12 13 You should switch all use of CObjects to capsules. Capsules 14 have a safer and more consistent API. For more information, 15 see Include/pycapsule.h, or read the "Capsules" topic in 16 the "Python/C API Reference Manual". 17 18 Python 2.7 no longer uses CObjects itself; all objects which 19 were formerly CObjects are now capsules. Note that this change 20 does not by itself break binary compatibility with extensions 21 built for previous versions of Python--PyCObject_AsVoidPtr() 22 has been changed to also understand capsules. 23 24 */ 25 26 /* original file header comment follows: */ 1 27 2 28 /* C objects to be exported from one extension module to another.
Note:
See TracChangeset
for help on using the changeset viewer.