← 返回首页
[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) by akuchling · Pull Request #20092 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007)#20092

Merged
miss-islington merged 2 commits into
python:3.8from
akuchling:backport-d72ea60-3.8
May 29, 2020
Merged

[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007)#20092
miss-islington merged 2 commits into
python:3.8from
akuchling:backport-d72ea60-3.8

Conversation

akuchling commented May 14, 2020
edited by miss-islington
Loading

Copy link
Copy Markdown
Contributor

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

mgraczyk and others added 2 commits May 14, 2020 13:26
…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 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

lgtm

Copy link
Copy Markdown
Contributor

Thanks @akuchling for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

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>

Copy link
Copy Markdown

GH-20511 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request May 29, 2020
…) (GH-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>
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

Footer

© 2026 GitHub, Inc.