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 | 78e2c985ac4b43fc0c0595197d7d255358930fda (patch) | |
tree | 6214bae8799476c127d90336dd6d2d9d9f0e9524 /Python/errors.c | |
parent | f243ee4055c8ed334e048e494814d557a02f72b3 (diff) | |
download | cpython-git-78e2c985ac4b43fc0c0595197d7d255358930fda.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/errors.c')
0 files changed, 0 insertions, 0 deletions