]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-131788: make resource_tracker re-entrant safe (GH-131787)
authorThomas Grainger <tagrain@gmail.com>
Wed, 13 Aug 2025 20:00:23 +0000 (21:00 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Aug 2025 20:00:23 +0000 (20:00 +0000)
commitf24a012350f71141648cbd61081a25a458dd7fff
tree455e86456e31b287900d0074100c6f756c86c88c
parenta10152f8fd0f4b291e53d646cffe22fbeec73e1e
gh-131788: make resource_tracker re-entrant safe (GH-131787)

* make resource_tracker re-entrant safe
* Update Lib/multiprocessing/resource_tracker.py
* trim trailing whitespace
* use f-string and args = [x, *y, z]
* raise self._reentrant_call_error

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/multiprocessing/resource_tracker.py
Misc/NEWS.d/next/Library/2025-03-27-08-13-32.gh-issue-131788.0RWiFc.rst [new file with mode: 0644]