[issue4553] Results from os.path.islink and os.stat S_ISLNK do not match

Christian Heimes report at bugs.python.org
Fri Dec 5 23:14:13 CET 2008


Christian Heimes <lists at cheimes.de> added the comment:

The behavior is correct. You want os.lstat, not os.stat.
http://docs.python.org/library/os.html#os.lstat

----------
nosy: +christian.heimes
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4553>
_______________________________________


More information about the Python-bugs-list mailing list