[issue1578269] Add os.symlink() and os.path.islink() support for Windows
Amaury Forgeot d'Arc
report at bugs.python.org
Fri Jul 9 14:55:15 CEST 2010
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
Hm, the patch could be more "pythonic". Something like:
symlink_exception = (AttributeError,)
try:
symlink_exception += (NotImplementedError, WindowsError)
except NameError:
pass
try:
...
except symlink_exception:
...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1578269>
_______________________________________
More information about the Python-bugs-list
mailing list