SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 38 Python

Instantiate the OS-related exception as soon as we raise it, so that "except"

works properly.

PyErr_SetFromErrnoWithFilenameObject() was already fixed by the changeset
793c75177d28. This commit fixes PyErr_SetExcFromWindowsErrWithFilenameObject(),
used on Windows.
V
Victor Stinner committed
9ea8e4c29db12520bdd024357acf354b0653dd04
Parent: ecd0207