diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-17 18:18:58 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-17 18:18:58 (GMT) |
commit | 9ea8e4c29db12520bdd024357acf354b0653dd04 (patch) | |
tree | 69a5b6afd52b695169956b5fdc282f4ff7fa6986 /Lib/mailbox.py | |
parent | ecd02074440b683b28f0946c2a03b499541d1ea8 (diff) | |
download | cpython-9ea8e4c29db12520bdd024357acf354b0653dd04.zip cpython-9ea8e4c29db12520bdd024357acf354b0653dd04.tar.gz cpython-9ea8e4c29db12520bdd024357acf354b0653dd04.tar.bz2 |
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 'Lib/mailbox.py')
0 files changed, 0 insertions, 0 deletions