[3.14] gh-131788: make resource_tracker re-entrant safe (GH-131787)#137737
Merged
gpshead merged 2 commits intopython:3.14from Oct 17, 2025
Merged
[3.14] gh-131788: make resource_tracker re-entrant safe (GH-131787)#137737gpshead merged 2 commits intopython:3.14from
gpshead merged 2 commits intopython:3.14from
Conversation
* 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 --------- (cherry picked from commit f24a012) Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
This was referenced Aug 13, 2025
Member
|
do-not-merge added due to #131788 (comment) questions |
Contributor
|
Per the resolution at #138031 (comment) this seems safe to merge (see also, my comment at #131788 (comment)) |
Contributor
|
That would also help with adding tests for mypyc on 3.14t: mypyc/mypyc#1136 (comment). Currently the tests fail there due to errors caused by re-entrant resource tracking. |
gpshead
approved these changes
Oct 17, 2025
|
🤖 New build scheduled with the buildbot fleet by @gpshead for commit 0faaf50 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F137737%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(cherry picked from commit f24a012)
Co-authored-by: Thomas Grainger tagrain@gmail.com
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith greg@krypto.org