Antoine Pitrou <[email protected]> added the comment:
> Hm, the patch could be more "pythonic". Something like:
>
> symlink_exception = (AttributeError,)
> try:
> symlink_exception += (NotImplementedError, WindowsError)
> except NameError:
> pass
Probably better as:
symlink_exception = (AttributeError, NotImplementedError)
try:
symlink_exception += (WindowsError,)
except NameError:
pass
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1578269>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com