[issue39907] `pathlib.Path.iterdir()` wastes memory by using `os.listdir()` rather than `os.scandir()`

Karthikeyan Singaravelan report at bugs.python.org
Mon Mar 9 08:03:14 EDT 2020


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

This optimisation was also hinted at https://bugs.python.org/issue26032#msg257653

----------
nosy: +pitrou, serhiy.storchaka, xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39907>
_______________________________________


More information about the Python-bugs-list mailing list