M.-A. Lemburg, 25.03.2010 10:10:
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.

I got this in Cython's continuous integration server after this change:


Traceback (most recent call last):
  File "runtests.py", line 19, in <module>
    import cPickle as pickle
TypeError: PyCObject_AsVoidPtr with non-C-object


Although this looks like an internal problem in CPython, I'm certainly against any backwards incompatible changes of this size in the 2.x series.

Stefan

_______________________________________________
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

Reply via email to