Skip to content
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

[3.8] bpo-25872: Fix KeyError using linecache from multiple threads (GH-20079) #20079

Closed

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 13, 2020

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

https://bugs.python.org/issue25872

…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>
@miss-islington
Copy link
Contributor Author

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

2 similar comments
@miss-islington
Copy link
Contributor Author

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

@miss-islington
Copy link
Contributor Author

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

@akuchling akuchling self-assigned this May 14, 2020
@akuchling akuchling changed the title [3.8] issue-25872: Fix KeyError using linecache from multiple threads (GH-18007) [3.8] bpo-25872: Fix KeyError using linecache from multiple threads (GH-20079) May 14, 2020
@miss-islington
Copy link
Contributor Author

@miss-islington: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
Contributor Author

@miss-islington: Status check is done, and it's a success ✅ .

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