Staging
v0.5.1
https://github.com/python/cpython
Revision 31e2b76f7bbcb8278748565252767a8b7790ff27 authored by Miss Islington (bot) on 06 March 2018, 13:52:27 UTC, committed by GitHub on 06 March 2018, 13:52:27 UTC

Fix a crash on fork when using a custom memory allocator (ex: using
PYTHONMALLOC env var).

_PyGILState_Reinit() and _PyInterpreterState_Enable() now use the
default RAW memory allocator to allocate a new interpreters mutex on
fork.
(cherry picked from commit 5d92647102fac9e116b98ab8bbc632eeed501c34)

Co-authored-by: Victor Stinner <victor.stinner@gmail.com>
1 parent 96fdbac
History
Tip revision: 31e2b76f7bbcb8278748565252767a8b7790ff27 authored by Miss Islington (bot) on 06 March 2018, 13:52:27 UTC
bpo-33005: Fix _PyGILState_Reinit() (GH-6001)
Tip revision: 31e2b76
File Mode Size
Grammar -rw-r--r-- 6.3 KB

back to top