diff options
author | Barry Warsaw <barry@python.org> | 2000-05-02 19:27:51 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-05-02 19:27:51 (GMT) |
commit | fa5c315afa39c264e422336cc017853629cb680c (patch) | |
tree | e7a3cfadcf0d2b0cf36e8f6929a4cb9749748eda /Tools/i18n | |
parent | 48719d3d1f116f6432040fea1754692038ba227c (diff) | |
download | cpython-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