[issue6721] Locks in the standard library should be sanitized on fork
Olivier Chédru
report at bugs.python.org
Thu Apr 5 09:53:19 EDT 2018
Olivier Chédru <ochedru at gmail.com> added the comment:
FWIW, I encountered the same kind of issue when using the mkstemp() function: under the hood, it calls gettempdir() and this one is protected by a lock too.
Current thread 0x00007ff10231f700 (most recent call first):
File "/usr/lib/python3.5/tempfile.py", line 432 in gettempdir
File "/usr/lib/python3.5/tempfile.py", line 269 in _sanitize_params
File "/usr/lib/python3.5/tempfile.py", line 474 in mkstemp
----------
nosy: +ochedru
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue6721>
_______________________________________
More information about the Python-bugs-list
mailing list