[issue26096] '*' glob string matches dot files in pathlib

Guido van Rossum report at bugs.python.org
Sun Feb 7 23:43:36 EST 2016


Guido van Rossum added the comment:

If you really need an easy way to provide what the shell offers to end users, maybe you could submit a patch that adds an option similar to "GLOBIGNORE" in bash (but the default would be to return everything, which is more regular and more useful for Python programs). Though you might also consider how easy it would be to write a wrapper function around Path.glob() that implements this.

----------

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


More information about the Python-bugs-list mailing list