summaryrefslogtreecommitdiffstats
path: root/Tools/i18n
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2000-05-02 19:27:51 (GMT)
committerBarry Warsaw <barry@python.org>2000-05-02 19:27:51 (GMT)
commitfa5c315afa39c264e422336cc017853629cb680c (patch)
treee7a3cfadcf0d2b0cf36e8f6929a4cb9749748eda /Tools/i18n
parent48719d3d1f116f6432040fea1754692038ba227c (diff)
downloadcpython-fa5c315afa39c264e422336cc017853629cb680c.zip
cpython-fa5c315afa39c264e422336cc017853629cb680c.tar.gz
cpython-fa5c315afa39c264e422336cc017853629cb680c.tar.bz2
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 'Tools/i18n')
0 files changed, 0 insertions, 0 deletions