New submission from Марк Коренберг <socketp...@gmail.com>:
ipython session: In [48]: qwe=os.stat('/usr/lib/libstdc++.so.6') In [49]: qwe.st_mode Out[49]: 33188 In [50]: stat.S_ISLNK(qwe.st_mode) Out[50]: False In [51]: stat.S_IFLNK & qwe.st_mode Out[51]: 32768 '/usr/lib/libstdc++.so.6' is really symlink !!! python in ubuntu 10.10 and RHEL 6.0. All the same. ---------- components: Library (Lib) messages: 126628 nosy: mmarkk priority: normal severity: normal status: open title: stat.S_ISLNK() does not wok! type: behavior _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10958> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com