[Cython] PEP 442: safe object finalisation

Stefan Behnel stefan_ml at behnel.de
Sat Aug 3 18:24:35 CEST 2013


Hi,

CPython 3.4 will have a new way to handle object finalisation.

http://www.python.org/dev/peps/pep-0442/

I think we should switch the current deallocation code to make use of it.
That should fix the problem we currently have with user provided
__dealloc__() code that touches Python objects. It would be Py3.4+
specific, though.

Stefan


More information about the cython-devel mailing list