]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134322: Fix `repr(threading.RLock)` (#134389)
authorDuprat <yduprat@gmail.com>
Thu, 22 May 2025 16:46:57 +0000 (18:46 +0200)
committerGitHub <noreply@github.com>
Thu, 22 May 2025 16:46:57 +0000 (16:46 +0000)
commitfade146cfb1616ad7b3b918bedb86756dedf79e6
tree8e475c75c6c04038015660239e560875137bf471
parent4a4ac3ab4d2a34af99af9e948be9cd1257ed4186
gh-134322: Fix `repr(threading.RLock)` (#134389)

Fix the `__repr__` value of `threading.RLock` from `_thread` module, when just created.
Lib/test/lock_tests.py
Lib/test/test_importlib/test_locks.py
Modules/_threadmodule.c