{{ message }}
[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007)#20092
Merged
miss-islington merged 2 commits intoMay 29, 2020
Merged
[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007)#20092miss-islington merged 2 commits into
miss-islington merged 2 commits into
Conversation
…ythonGH-18007) The crash that this fixes occurs when using traceback and other modules from multiple threads; del cache[filename] can raise a KeyError. (cherry picked from commit d72ea60) Co-authored-by: Michael Graczyk <mgraczyk@users.noreply.github.com>
csabella
approved these changes
May 29, 2020
csabella
left a comment
Contributor
There was a problem hiding this comment.
lgtm
Sorry, something went wrong.
Contributor
|
Thanks @akuchling for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Sorry, something went wrong.
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
May 29, 2020
…GH-18007) (pythonGH-20092) Backporting to 3.8 and adding a NEWS item (I should have added one to the master branch -- oh well). (cherry picked from commit b86636b) Co-authored-by: Andrew Kuchling <amk@amk.ca>
miss-islington
added a commit
that referenced
this pull request
May 29, 2020
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
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.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.
Backporting to 3.8 and adding a NEWS item (I should have added one to the master branch -- oh well).
https://bugs.python.org/issue25872
Automerge-Triggered-By: @csabella