New submission from Nicholas Patterson [EMAIL PROTECTED]:
See attached file, os.path.islink correctly identifies symlinks as
symlinks, but S_ISLNK is not reporting them as such.
--
components: None
files: demo.txt
messages: 77079
nosy: npatters
severity: normal
status: open
title:
Christian Heimes [EMAIL PROTECTED] 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