[issue22276] pathlib glob ignores trailing slash in pattern

R. David Murray report at bugs.python.org
Sat Aug 30 01:07:43 CEST 2014


R. David Murray added the comment:

I'm not sure that a trailing '/' is a "path characteristic" in the same sense that a symlink is.  Whether the path has a trailing slash or not has meaning both to the user and to the OS.  pathlib isn't just modeling actual path objects on the file system, but the abstract concept of a path, and in the abstract context the presence or absence of a trailing '/' as meaning.

But that's a wider discussion than this issue :)

----------

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


More information about the Python-bugs-list mailing list