This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Omer Bartal, iritkatriel, pitrou
Date 2021-08-28.21:01:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630184473.31.0.159868970859.issue35391@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-08-28 21:01:13pitrousetrecipients: + pitrou, Omer Bartal, iritkatriel
2021-08-28 21:01:13pitrousetmessageid: <1630184473.31.0.159868970859.issue35391@roundup.psfhosted.org>
2021-08-28 21:01:13pitroulinkissue35391 messages
2021-08-28 21:01:13pitroucreate