[issue36771] Feature Request: An option to os.walk() to return os.DirEntry lists instead of just filenames/dirnames
Stéphane Wirtel
report at bugs.python.org
Wed May 1 14:23:57 EDT 2019
Stéphane Wirtel <stephane at wirtel.be> added the comment:
Hi,
I think you have to create a new function and not to modify the current
os.walk(), just because you change the type of the returned value.
We have to avoid the inconsistency for the caller of os.walk(). is it a
list of DirEntry or another list?
----------
nosy: +matrixise
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36771>
_______________________________________
More information about the Python-bugs-list
mailing list