summaryrefslogtreecommitdiff
path: root/Python/importlib.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-25 00:30:32 +0100
committerVictor Stinner <victor.stinner@gmail.com>2016-03-25 00:30:32 +0100
commit27461683a9491efe58331a695c856fbb28bd4cba (patch)
treec9e1aa4c40c2da0246bcd6ef889f26b60c30a6d8 /Python/importlib.h
parente0511e797c483e1203a096ff96e34dc95368f843 (diff)
downloadcpython-git-27461683a9491efe58331a695c856fbb28bd4cba.tar.gz
warnings.formatwarning(): catch exceptions
Issue #21925: warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process.
Diffstat (limited to 'Python/importlib.h')
0 files changed, 0 insertions, 0 deletions