New submission from Jason R. Coombs <jar...@jaraco.com>: On Unix:
python -c "import os; os.mkdir('bar'); os.symlink('bar', 'foo'); print(os.path.isdir('foo'))" True On Windows: python -c "import os; os.mkdir('bar'); os.symlink('bar', 'foo'); print(os.path.isdir('foo'))" False Windows should correctly discern the directory-ness of a symlink (especially since in Windows, the symlink itself has a directory-ness). ---------- components: Windows messages: 163044 nosy: jason.coombs priority: normal severity: normal status: open title: ntpath.isdir returns False for directory symlinks versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15093> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com