[issue29249] Pathlib glob ** bug

Julien Palard report at bugs.python.org
Wed Feb 10 12:30:09 EST 2021


Julien Palard <julien+python at palard.fr> added the comment:

I'm +1 on adding ** to match.

My first bet would be to add it to match, not adding a new method, nor a flag, as it should not break compatibility:

It would only break iif someone have a `**` in a match AND does *not* expect it to be recursive (as it would continue to match the previous files, it may just match more).

Would this break something I did not foresee?

----------
nosy: +mdk

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29249>
_______________________________________


More information about the Python-bugs-list mailing list