[issue35368] [2.7] Make PyMem_Malloc() thread-safe in debug mode

STINNER Victor report at bugs.python.org
Mon Dec 3 11:45:17 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

According to bpo-31473, the debug hook on PyMem_Malloc() is not thread-safe: 'serialno' variable is not protected by any lock and it's not atomic.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35368>
_______________________________________


More information about the Python-bugs-list mailing list