Antoine Pitrou <pit...@free.fr> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue1578269>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to