New submission from Andrés Delfino <adelf...@gmail.com>: Right now we are using os.path.is(dir|file|symlink) in shutil.copytree, but taking advantage of os.scandir's is_(dir|file|symlink) seems the way to go.
I'll make a PR with to start the discussion with a proof of concept. ---------- components: Library (Lib) messages: 316108 nosy: adelfino priority: normal severity: normal status: open title: Make shutil.copytree use os.scandir to take advantage of cached is_(dir|file|symlink) versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33414> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com