diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-14 21:26:53 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-14 21:26:53 (GMT) |
commit | c4aec3628b6effcf205d70ce7d80f69847954b66 (patch) | |
tree | 4de61828675acb7bb697f2607672b4de7c23c0f6 /Misc | |
parent | 8a1be61849341528c866924cf69d378ce7790889 (diff) | |
download | cpython-c4aec3628b6effcf205d70ce7d80f69847954b66.zip cpython-c4aec3628b6effcf205d70ce7d80f69847954b66.tar.gz cpython-c4aec3628b6effcf205d70ce7d80f69847954b66.tar.bz2 |
Check the GIL in PyObject_Malloc()
Issue #26558: The debug hook of PyObject_Malloc() now checks that the GIL is
held when the function is called.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -10,6 +10,10 @@ Release date: tba Core and Builtins ----------------- +- Issue #26558: The debug hooks on Python memory allocator + :c:func:`PyObject_Malloc` now detect when functions are called without + holding the GIL. + - Issue #26516: Add :envvar`PYTHONMALLOC` environment variable to set the Python memory allocators and/or install debug hooks. |