[issue36602] Recursive directory list with pathlib.Path.iterdir

Karthikeyan Singaravelan report at bugs.python.org
Thu Apr 11 22:45:44 EDT 2019


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

> I believe `rglob("*")` is eager, while `iterdir` is lazy.

rglob and glob also return a generator.

Slightly related, pathlib.walk was proposed in the past in python-ideas : https://mail.python.org/pipermail/python-ideas/2017-April/045398.html

----------
nosy: +xtreak

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


More information about the Python-bugs-list mailing list