[issue39907] `pathlib.Path.iterdir()` wastes memory by using `os.listdir()` rather than `os.scandir()`
Barney Gale
report at bugs.python.org
Mon Mar 9 10:30:19 EDT 2020
Barney Gale <barney.gale at gmail.com> added the comment:
Ah, right you are! The globbing helpers call `list(os.scandir(...))` - perhaps we should do the same here?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39907>
_______________________________________
More information about the Python-bugs-list
mailing list