[issue28975] os.walk generator giving inconsistent results

Colin David Chen report at bugs.python.org
Wed Dec 14 17:32:36 EST 2016


Colin David Chen added the comment:

Ah, you're correct. The behavior is consistent if you use strings in both invocations. The Path conversion strips the final '\\'. Doc examples do use the names of directories rather than a Path object.

I will close the issue. Thanks for the quick response!

----------
resolution:  -> not a bug
status: open -> closed

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


More information about the Python-bugs-list mailing list