← 返回首页
[3.7] issue-25872: Fix KeyError using linecache from multiple threads (GH-18007) by miss-islington · Pull Request #20080 · 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.7] issue-25872: Fix KeyError using linecache from multiple threads (GH-18007)#20080

Closed
miss-islington wants to merge 1 commit into
python:3.7from
miss-islington:backport-d72ea60-3.7
Closed

[3.7] issue-25872: Fix KeyError using linecache from multiple threads (GH-18007)#20080
miss-islington wants to merge 1 commit into
python:3.7from
miss-islington:backport-d72ea60-3.7

Conversation

Copy link
Copy Markdown
Contributor

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

…onGH-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>

Copy link
Copy Markdown
Contributor Author

@mgraczyk and @akuchling: Status check is done, and it's a failure ❌ .

1 similar comment

Copy link
Copy Markdown
Contributor Author

@mgraczyk and @akuchling: Status check is done, and it's a failure ❌ .

akuchling self-assigned this May 14, 2020
akuchling closed this May 14, 2020
miss-islington deleted the backport-d72ea60-3.7 branch May 14, 2020 19:13
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Footer

© 2026 GitHub, Inc.