]> granicus.if.org Git - python/commit
WindowsError.str should display the windows error code,
authorThomas Heller <theller@ctypes.org>
Fri, 27 Oct 2006 18:47:29 +0000 (18:47 +0000)
committerThomas Heller <theller@ctypes.org>
Fri, 27 Oct 2006 18:47:29 +0000 (18:47 +0000)
commita0a50feea816fef21c525212dd867f7d7f3f9ab4
tree09473e39565920f25313adbe5d72a7c5480e0e39
parentff9e7abac8df84480bcfd7e3ce3a3dd912e69537
WindowsError.str should display the windows error code,
not the posix error code; with test.
Fixes #1576174.

Backported from trunk, revision 52485.
Lib/test/test_exceptions.py
Misc/NEWS
Objects/exceptions.c