STINNER Victor added the comment:

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.

----------
Added file: http://bugs.python.org/file42162/gil_check-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26558>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to