Scott Leerssen <sleers...@gmail.com> added the comment:

It turns out that my fix was at least one byte short of complete.  If the 
target pathname is a broken symlink, os.path.exists() returns False, and the 
OSError is raised.  I should have used os.path.lexists().  Also, I believe the 
same problem exists for the hardlink case a few lines below.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10761>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to