-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-43498: Fix dictionary iteration error in _ExecutorManagerThread #24868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This PR is stale because it has been open for 30 days with no activity. |
Still very much relevant. |
Is it possible to find a test case that reliably (or usually) fails before this, and reliably passes after? |
I mentioned one way to force this in the issue, but you have to modify library files for that. I will look into reliably reproducing this with user code. |
Thanks for the patch. We're hitting this too, apparently, so I'll just backport it to Gentoo. |
[Thomas: Taken from upstream pull request python#24868, which is aimed at fixing https://bugs.python.org/issue43498] Signed-off-by: Thomas Petazzoni <[email protected]>
Thanks! |
…ythonGH-24868) (cherry picked from commit 7431448) Co-authored-by: Jakub Kulík <[email protected]>
GH-29836 is a backport of this pull request to the 3.10 branch. |
…ythonGH-24868) (cherry picked from commit 7431448) Co-authored-by: Jakub Kulík <[email protected]>
GH-29837 is a backport of this pull request to the 3.9 branch. |
…H-24868) (cherry picked from commit 7431448) Co-authored-by: Jakub Kulík <[email protected]>
…H-24868) (cherry picked from commit 7431448) Co-authored-by: Jakub Kulík <[email protected]>
|
This prevents
RuntimeError: dictionary changed size during iteration
which we recently encountered several times duringmake install
.https://bugs.python.org/issue43498