larry.hastings wrote: > Author: larry.hastings > Date: Thu Mar 25 01:54:54 2010 > New Revision: 79397 > > Log: > Backported PyCapsule from 3.1, and converted most uses of > CObject to PyCapsule.
Backporting PyCapsule is fine, but the changes you made to all those PyCObject uses does not look backwards compatible. The C APIs exposed by the modules (e.g. the datetime module) are used in lots of 3rd party extension modules and changing them from PyCObject to PyCapsule is a major change in the module API. > Added: > python/trunk/Doc/c-api/capsule.rst > python/trunk/Include/pycapsule.h > python/trunk/Objects/capsule.c > Modified: > python/trunk/Doc/c-api/cobject.rst > python/trunk/Doc/c-api/concrete.rst > python/trunk/Doc/data/refcounts.dat > python/trunk/Doc/extending/extending.rst > python/trunk/Include/Python.h > python/trunk/Include/cStringIO.h > python/trunk/Include/cobject.h > python/trunk/Include/datetime.h > python/trunk/Include/py_curses.h > python/trunk/Include/pyexpat.h > python/trunk/Include/ucnhash.h > python/trunk/Lib/test/test_sys.py > python/trunk/Makefile.pre.in > python/trunk/Misc/NEWS > python/trunk/Modules/_ctypes/callproc.c > python/trunk/Modules/_ctypes/cfield.c > python/trunk/Modules/_ctypes/ctypes.h > python/trunk/Modules/_cursesmodule.c > python/trunk/Modules/_elementtree.c > python/trunk/Modules/_testcapimodule.c > python/trunk/Modules/cStringIO.c > python/trunk/Modules/cjkcodecs/cjkcodecs.h > python/trunk/Modules/cjkcodecs/multibytecodec.c > python/trunk/Modules/cjkcodecs/multibytecodec.h > python/trunk/Modules/datetimemodule.c > python/trunk/Modules/pyexpat.c > python/trunk/Modules/socketmodule.c > python/trunk/Modules/socketmodule.h > python/trunk/Modules/unicodedata.c > python/trunk/Objects/object.c > python/trunk/Objects/unicodeobject.c > python/trunk/PC/VS7.1/pythoncore.vcproj > python/trunk/PC/VS8.0/pythoncore.vcproj > python/trunk/PC/os2emx/python27.def > python/trunk/PC/os2vacpp/python.def > python/trunk/Python/compile.c > python/trunk/Python/getargs.c -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Mar 25 2010) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try our new mxODBC.Connect Python Database Interface for free ! :::: eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48 D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg Registered at Amtsgericht Duesseldorf: HRB 46611 http://www.egenix.com/company/contact/ _______________________________________________ Python-checkins mailing list python-check...@python.org http://mail.python.org/mailman/listinfo/python-checkins _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com