FYI: WindowsError

Aaron Bentley aaron.bentley at utoronto.ca
Wed Jul 19 21:48:36 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Some operations that raise OSError on *nix raise WindowsError on win32.
 It's always been mysterious to me, but here's what I've found out.

WindowsError is raised when Windows produces an error that has no POSIX
Equivalent.  The errno values for WindowsError are defined in
"WinError.h", and described here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/system_error_codes.asp

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEvpqk0F+nu1YWqI0RAsESAJ45MKAkeRZuHy4u0yxF0pDlP6E6XgCaAhMr
vIj5aYpmXKwg9cK8YRXIeAg=
=ibOZ
-----END PGP SIGNATURE-----




More information about the bazaar mailing list