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