summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2000-05-02 19:27:51 +0000
committerBarry Warsaw <barry@python.org>2000-05-02 19:27:51 +0000
commitfa5c315afa39c264e422336cc017853629cb680c (patch)
treee7a3cfadcf0d2b0cf36e8f6929a4cb9749748eda /Python/importdl.c
parent48719d3d1f116f6432040fea1754692038ba227c (diff)
downloadcpython-git-fa5c315afa39c264e422336cc017853629cb680c.tar.gz
PyErr_GivenExceptionMatches(): Check for err==NULL and exc==NULL and
return 0 (exceptions don't match). This means that if an ImportError is raised because exceptions.py can't be imported, the interpreter will exit "cleanly" with an error message instead of just core dumping. PyErr_SetFromErrnoWithFilename(), PyErr_SetFromWindowsErrWithFilename(): Don't test on Py_UseClassExceptionsFlag.
Diffstat (limited to 'Python/importdl.c')
0 files changed, 0 insertions, 0 deletions