◐ Shell
clean mode source ↗

[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) by akuchling · Pull Request #20092 · python/cpython

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

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
…) (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>