]> granicus.if.org Git - python/commit
Fail if PyMem_Malloc() is called without holding the GIL
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 16 Mar 2016 11:12:53 +0000 (12:12 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 16 Mar 2016 11:12:53 +0000 (12:12 +0100)
commitad524375af042a549d28ec252f3071a595b892b2
tree8d2a755845089be4a06d2c7c185d242ff379907f
parent013024ef67b7e5989e4be03f4ff2be22aa753ae0
Fail if PyMem_Malloc() is called without holding the GIL

Issue #26563: Debug hooks on Python memory allocators now raise a fatal error
if functions of the PyMem_Malloc() family are called without holding the GIL.
Lib/test/test_capi.py
Misc/NEWS
Modules/_testcapimodule.c
Objects/obmalloc.c