Message261762
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:11 | vstinner | set | recipients:
+ vstinner |
| 2016-03-14 16:00:11 | vstinner | set | messageid: <1457971211.61.0.287094576395.issue26558@psf.upfronthosting.co.za> |
| 2016-03-14 16:00:11 | vstinner | link | issue26558 messages |
| 2016-03-14 16:00:11 | vstinner | create | |
|