]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97008: Add a Python implementation of AttributeError and NameError suggestions...
authorŁukasz Langa <lukasz@langa.pl>
Tue, 4 Oct 2022 22:31:16 +0000 (15:31 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2022 22:31:16 +0000 (15:31 -0700)
commitbbc7cd649a6ef56eb09278f3e746ca89b9d592c9
tree9b27714a75a9d5e550e68405af984b7c61c3176e
parent7acb93f0d44c6fb971fdb09b86f68896e3b1e2f8
gh-97008: Add a Python implementation of AttributeError and NameError suggestions (#97022)

Relevant tests moved from test_exceptions to test_traceback to be able to
compare both implementations.

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
.gitattributes
Lib/test/levenshtein_examples.json [new file with mode: 0644]
Lib/test/test_exceptions.py
Lib/test/test_traceback.py
Lib/traceback.py
Makefile.pre.in
Misc/NEWS.d/next/Library/2022-10-04-00-43-43.gh-issue-97008.3rjtt6.rst [new file with mode: 0644]
Tools/scripts/generate_levenshtein_examples.py [new file with mode: 0644]