[issue39532] Pathlib: handling of `.` in paths and patterns creates unmatchable paths
Isaac Muse
report at bugs.python.org
Sun Feb 2 19:15:33 EST 2020
Isaac Muse <faceless.server1 at gmail.com> added the comment:
The more I think about this, I think the normalization of paths is actually fine, it is the normalization of the patterns that is problematic, or more the difference in normalization. I could live with the pattern normalization of `.` and trailing `/` if it was at least consistent with what happens in paths. I still find the modification of the glob pattern in this manner surprising, but at least it wouldn't' cause cases like this to fail.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39532>
_______________________________________
More information about the Python-bugs-list
mailing list