]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112660: Do not clear arbitrary errors on import (GH-112661)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 7 Dec 2023 10:19:43 +0000 (12:19 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Dec 2023 10:19:43 +0000 (12:19 +0200)
commit8660fb7fd7cdcbfe58ef304f5720efe97ca7c842
tree17cd5657cd0c6cc5795d59973a1a572a9274d60c
parent953ee622b3901d3467e65e3484dcfa75ba6fcddf
gh-112660: Do not clear arbitrary errors on import (GH-112661)

Previously arbitrary errors could be cleared during formatting error
messages for ImportError or AttributeError for modules. Now all
unexpected errors are reported.
Misc/NEWS.d/next/Core and Builtins/2023-12-03-15-29-53.gh-issue-112660.gldBvh.rst [new file with mode: 0644]
Objects/moduleobject.c
Python/ceval.c
Python/import.c