[issue13772] listdir() doesn't work with non-trivial symlinks
Antoine Pitrou
report at bugs.python.org
Fri Jul 27 01:34:38 CEST 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
Le jeudi 26 juillet 2012 à 19:12 +0000, Jason R. Coombs a écrit :
> Without the directory feature, many uses of os.symlink are not
> portable and will fail (with ugly results) on Windows.
The target_is_directory argument is supposed to be "supported" (i.e.
ignored) on other platforms, so you should be able to write portable
code easily.
I'm not against restoring detection, but it should be non-buggy and
correctly unit-tested :) That said it's probably too late for 3.3.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13772>
_______________________________________
More information about the Python-bugs-list
mailing list