[issue18525] Shutil cannot import WindowsError on windows
Saurabh Gupta
report at bugs.python.org
Mon Jul 22 10:17:41 CEST 2013
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 <report at bugs.python.org>
<http://bugs.python.org/issue18525>
_______________________________________
More information about the Python-bugs-list
mailing list