[issue26113] pathlib p.match('') should return False rather than raising exception

Guido van Rossum report at bugs.python.org
Thu Jan 14 15:34:12 EST 2016


Guido van Rossum added the comment:

What's the use case for a "reject all" pattern? Why do you want to call glob with an argument that causes it do do a bunch of pointless work but then return an empty result set?

----------

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


More information about the Python-bugs-list mailing list