[issue23605] Use the new os.scandir() function in os.walk()

Ben Hoyt report at bugs.python.org
Thu Mar 12 03:56:38 CET 2015


Ben Hoyt added the comment:

Note specifically in the unsymlink() example Serhiy gave, you probably don't *want* os.walk() to recurse into a symlink-to-a-directory-that's-changed-to-a-directory, and you probably haven't thought about it doing so, so maybe the new behaviour is fine?

----------

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


More information about the Python-bugs-list mailing list