cpython/Misc/NEWS.d/next/Core and Builtins/2018-03-06-12-19-19.bpo-330...

5 lines
232 B
ReStructuredText

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.