[issue23605] Use the new os.scandir() function in os.walk()

Ben Hoyt report at bugs.python.org
Mon Mar 30 14:28:13 CEST 2015


Ben Hoyt added the comment:

Thanks for the explanation (and the comment fix).

> What's your point about complexity? Would you like to drop os.scandir
> changes in os.walk(), or do you have a simpler version to propose?

No, not at all! I was just noting it and trying to brainstorm any ways to simplify it (while keeping the current behavior). But I'm not sure there is a good simplification, so that's fine.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23605>
_______________________________________


More information about the Python-bugs-list mailing list