Staging
v0.5.1
https://github.com/python/cpython
Revision c275be54411d425c90e7c679ddb5321ba458f61d authored by Victor Stinner on 03 December 2018, 11:29:29 UTC, committed by GitHub on 03 December 2018, 11:29:29 UTC
When Python is compiled in debug mode, PyMem_Malloc() uses debug
hooks, but it also uses pymalloc allocator instead of malloc().
Problem: pymalloc is not thread-safe, whereas PyMem_Malloc() is
thread-safe in release mode (it's a thin wrapper to malloc() in this
case).

Modify the debug hook to use malloc() for PyMem_Malloc().
1 parent dfd4a1d
History
Tip revision: c275be54411d425c90e7c679ddb5321ba458f61d authored by Victor Stinner on 03 December 2018, 11:29:29 UTC
bpo-35368: Make PyMem_Malloc() thread-safe in debug mode (GH-10828)
Tip revision: c275be5
File Mode Size
appveyor.yml -rw-r--r-- 1.0 KB

back to top