Karthikeyan Singaravelan <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue36602>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com