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

2008-12-05 Thread Christian Heimes
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 track

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

2008-12-05 Thread Nicholas Patterson
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: Res