Eric V. Smith added the comment: Assuming Path is pathlib.Path, this is equivalent to the difference between:
>>> list(os.walk('/tmp')) [('/tmp', <other-stuff ...> and: >>> list(os.walk('/tmp/')) [('/tmp/', <other-stuff ...> Because: >>> pathlib.Path('/tmp') PosixPath('/tmp') >>> pathlib.Path('/tmp/') PosixPath('/tmp') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28975> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com