diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-05-11 13:28:43 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-05-11 13:28:43 (GMT) |
commit | 879768dd97f98626c919a460a90dd0d54855de9c (patch) | |
tree | 8813f6d751a0087d8402860bc82e54ca87f0028c /Misc | |
parent | 38e3b7d2d36a2029ad86c9c23d031e5350e80d35 (diff) | |
download | cpython-879768dd97f98626c919a460a90dd0d54855de9c.zip cpython-879768dd97f98626c919a460a90dd0d54855de9c.tar.gz cpython-879768dd97f98626c919a460a90dd0d54855de9c.tar.bz2 |
Change WindowsError to carry the Win32 error code in winerror,
and the DOS error code in errno. Revert changes where
WindowsError catch blocks unnecessarily special-case OSError.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ What's New in Python 2.5 alpha 2? Core and builtins ----------------- +- WindowsError now has two error code attributes: errno, which carries + the error values from errno.h, and winerror, which carries the error + values from winerror.h. Previous versions put the winerror.h values + (from GetLastError()) into the errno attribute. + - Patch #1475845: Raise IndentationError for unexpected indent. - Patch #1479181: split open() and file() from being aliases for each other. |