diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-07-16 01:54:37 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-07-16 01:54:37 +0200 |
commit | abae51304280e0a8d15d65f8b440b20f3589de0e (patch) | |
tree | 05a16c26e8f198e63fcfc6a4577deed66618bdee /Python/sysmodule.c | |
parent | f973f6bbe55ca322f5f32954cdb47fc9a418eb78 (diff) | |
download | cpython-abae51304280e0a8d15d65f8b440b20f3589de0e.tar.gz |
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.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions