[Python-Dev] ABI stability between bugfix versions?

Antoine Pitrou solipsis at pitrou.net
Mon Sep 3 12:11:23 CEST 2012


Hello,

To fix the crash in http://bugs.python.org/issue13992, I have to change
the definition of the Py_TRASHCAN_SAFE_BEGIN and Py_TRASHCAN_SAFE_END
macros in a way that makes them stop rely on global variables.

Despite being undocumented, these two macros are used in a couple of
third-party extension modules (*) such as greenlet and py-judy. This
means that such an extension compiled for 2.7.3 wouldn't work with
2.7.4, and vice-versa. Is there something we can do to alleviate the
issue? Add a note in the release notes?

Regards

Antoine.


(*) http://code.google.com/codesearch#search&q=Py_TRASHCAN_SAFE_BEGIN


-- 
Software development and contracting: http://pro.pitrou.net




More information about the Python-Dev mailing list