summaryrefslogtreecommitdiff
path: root/Python/pythonrun.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
commitf14609a3ae25a30a658ad3b143331382927c2c4e (patch)
tree69ad1ff53bf0fe3d61e6b652e452e0e5301b2fb7 /Python/pythonrun.c
parenta16a2a6c859b877b2a88af07573c86dae3f1ce3b (diff)
downloadcpython-f14609a3ae25a30a658ad3b143331382927c2c4e.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions