◐ Shell
clean mode source ↗

bpo-44422: threading.Thread reuses the _delete() method by vstinner · Pull Request #26741 · python/cpython

The _bootstrap_inner() method of threading.Thread now reuses its
_delete() method rather than accessing _active() directly. It became
possible since _active_limbo_lock became reentrant. Moreover, it no
longer ignores any exception when deleting the thread from the
_active dictionary.

erlend-aasland

iritkatriel

jdevries3133 pushed a commit to jdevries3133/cpython that referenced this pull request

Jun 19, 2021
The _bootstrap_inner() method of threading.Thread now reuses its
_delete() method rather than accessing _active() directly. It became
possible since _active_limbo_lock became reentrant. Moreover, it no
longer ignores any exception when deleting the thread from the
_active dictionary.