• Barry Warsaw's avatar
    PyErr_GivenExceptionMatches(): Check for err==NULL and exc==NULL and · fa5c315a
    Barry Warsaw yazdı
    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.
    fa5c315a
errors.c 10.8 KB