mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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.
This commit is contained in:
parent
953ee622b3
commit
8660fb7fd7
4 changed files with 72 additions and 58 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Do not clear unexpected errors during formatting error messages for
|
||||
ImportError and AttributeError for modules.
|
||||
Loading…
Add table
Add a link
Reference in a new issue