diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-17 20:18:58 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-17 20:18:58 +0200 |
commit | f8ba1a5cbeb56fe6ac204f3bdef184156b20aa4d (patch) | |
tree | 295d03d7302f091928b84f25b8e40365bfd93d57 /Python/pythonrun.c | |
parent | f1fe949fd1c67ffc4accca8e9dd0855f62d7621e (diff) | |
download | cpython-f8ba1a5cbeb56fe6ac204f3bdef184156b20aa4d.tar.gz |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions