[issue33414] Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink)
Andrés Delfino
report at bugs.python.org
Thu May 3 08:20:52 EDT 2018
Andrés Delfino <adelfino at gmail.com> added the comment:
To be frank, I just searched the tree for uses of listdir() combined with isdir()/isfile()/issymlink(). Thought that using scandir() would make sense, and didn't think of a reason for not using it. That being said, I cannot state a case and I'll be happy to close the PR if there's no need for this :)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33414>
_______________________________________
More information about the Python-bugs-list
mailing list