]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-116871: Improve name suggestions in tracebacks (GH-116930)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 6 May 2024 12:53:15 +0000 (15:53 +0300)
committerGitHub <noreply@github.com>
Mon, 6 May 2024 12:53:15 +0000 (15:53 +0300)
commit0085c3ae8f067abd4f6540d0f6dd2fb13107618e
tree02a0986dbc669ca6e6c53bf9fb567cfb25e95130
parentd6fa1d4beef2bf9d83048469667e0ba5f2b41068
gh-116871: Improve name suggestions in tracebacks (GH-116930)

Only include underscored names in name suggestions for AttributeError and
ImportError if the original name was underscored.
Lib/test/test_traceback.py
Lib/traceback.py
Misc/NEWS.d/next/Library/2024-03-17-18-24-23.gh-issue-116871.9uSl8M.rst [new file with mode: 0644]