diff options
author | Łukasz Langa <lukasz@langa.pl> | 2022-10-04 22:31:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 22:31:16 (GMT) |
commit | bbc7cd649a6ef56eb09278f3e746ca89b9d592c9 (patch) | |
tree | 9b27714a75a9d5e550e68405af984b7c61c3176e /Misc/NEWS.d/next | |
parent | 7acb93f0d44c6fb971fdb09b86f68896e3b1e2f8 (diff) | |
download | cpython-bbc7cd649a6ef56eb09278f3e746ca89b9d592c9.zip cpython-bbc7cd649a6ef56eb09278f3e746ca89b9d592c9.tar.gz cpython-bbc7cd649a6ef56eb09278f3e746ca89b9d592c9.tar.bz2 |
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>
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-10-04-00-43-43.gh-issue-97008.3rjtt6.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-04-00-43-43.gh-issue-97008.3rjtt6.rst b/Misc/NEWS.d/next/Library/2022-10-04-00-43-43.gh-issue-97008.3rjtt6.rst new file mode 100644 index 0000000..b41f88d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-10-04-00-43-43.gh-issue-97008.3rjtt6.rst @@ -0,0 +1,5 @@ +:exc:`NameError` and :exc:`AttributeError` spelling suggestions provided +since :gh:`82711` are now also emitted by the pure Python +:mod:`traceback` module. Tests for those suggestions now exercise both +implementations to ensure they are equivalent. Patch by Carl Friedrich +Bolz-Tereick and Łukasz Langa. |