[issue45889] pathlib: Path.match does not work on paths
Ronald Oussoren
report at bugs.python.org
Wed Nov 24 03:57:17 EST 2021
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
This would definitely be a new feature and not something that can be back ported.
That said, I don't understand why it is desirable to use a Path as the match argument. That argument is a glob pattern (such as "*.py") and not a file name .
----------
nosy: +ronaldoussoren
versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45889>
_______________________________________
More information about the Python-bugs-list
mailing list