Saurabh Gupta added the comment:
I have a legacy software that has things like:
try:
some stuff
except OSError, why:
if WindowsError is not None and isinstance(why, WindowsError):
do something
else:
do something else
So I'd ideally like to able to run this software unchanged on Windows systems
too. It would be best for me if I could import WindowsError on windows.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18525>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com