[3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) by akuchling · Pull Request #20092 · python/cpython
and others added 2 commits
…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>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…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
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