summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-07-16 01:54:37 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-07-16 01:54:37 +0200
commitabae51304280e0a8d15d65f8b440b20f3589de0e (patch)
tree05a16c26e8f198e63fcfc6a4577deed66618bdee /Python/sysmodule.c
parentf973f6bbe55ca322f5f32954cdb47fc9a418eb78 (diff)
downloadcpython-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