This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2016-03-14.16:00:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Hum, in fact I prefer to implement GIL check in debug hooks of Python memory allocators. So it becomes to get these checks on Python compiled in debug mode.

Patch 2: Don't touch Python memory allocators.

Instead of I wrote a second patch, pymem_gil_check.patch (based on gil_check-2.patch).


Oh, I forgot to mention that the gil_check patch changes PyThreadState_DeleteCurrent(): I reordered instructions to be able call PyObject_Free() with the GIL check.
Date User Action Args
2016-03-14 16:00:11vstinnersetrecipients: + vstinner
2016-03-14 16:00:11vstinnersetmessageid: <>
2016-03-14 16:00:11vstinnerlinkissue26558 messages
2016-03-14 16:00:11vstinnercreate