[issue13772] listdir() doesn't work with non-trivial symlinks

Santoso Wijaya report at bugs.python.org
Thu Jan 12 07:42:16 CET 2012


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

I agree that it's probably not a good idea. Windows users should be aware of symlink limitation on the platform to begin with, IMHO.

Besides, keeping the detection behaviour in light of this defect would be adding unnecessary complexity to the code. Currently, the `src` argument (=".\\test") is simply given to a Windows function to see if it is a directory, from the currently working directory.

To make it aware of its path relativity, in the context of the target, is much harder than just changing the documentation. ;-)

----------

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


More information about the Python-bugs-list mailing list