[issue35391] threading.RLock exception handling while waiting
Antoine Pitrou
report at bugs.python.org
Sat Aug 28 17:01:13 EDT 2021
Antoine Pitrou <pitrou at free.fr> added the comment:
RLock is implemented in C nowadays so this problem doesn't occur anymore:
https://github.com/python/cpython/blob/main/Modules/_threadmodule.c#L436-L459
You can of course, however, import the pure Python RLock under the name "_PyRLock", which is still vulnerable to this issue:
https://github.com/python/cpython/blob/main/Lib/threading.py#L204-L206
----------
type: crash -> behavior
versions: -Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35391>
_______________________________________
More information about the Python-bugs-list
mailing list