[issue31473] PyMem_Raw* API in debug mode are not thread safe

Xiang Zhang report at bugs.python.org
Thu Sep 14 13:36:34 EDT 2017


New submission from Xiang Zhang:

PyMem_Raw* APIs should be thread safe. But in debug mode, they are not that simple and increment a global variable *serialno* and the incrementing action is not thread safe.

----------
components: Interpreter Core
messages: 302187
nosy: haypo, xiang.zhang
priority: normal
severity: normal
stage: needs patch
status: open
title: PyMem_Raw* API in debug mode are not thread safe
type: behavior
versions: Python 3.6, Python 3.7

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


More information about the Python-bugs-list mailing list