Issue #18408: Fix show_warning(), clear also the exception raised by
_Py_DisplaySourceLine() For example, _PyGC_DumpShutdownStats() calls PyErr_WarnExplicitFormat() while the import machinery does not work anymore, _Py_DisplaySourceLine() fails when trying to import the io module.
Showing
Please
register
or
sign in
to comment