[issue35488] pathlib Path.match does not behave as described

2019-04-08 Thread anthony shaw
Change by anthony shaw : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35488] pathlib Path.match does not behave as described

2019-01-06 Thread Brett Cannon
Brett Cannon added the comment: New changeset 83da926b89daf80013ea966037c2c0e1e9d25c6b by Brett Cannon (Anthony Shaw) in branch 'master': bpo-35488: Add tests for ** glob matching in pathlib (GH-11171) https://github.com/python/cpython/commit/83da926b89daf80013ea966037c2c0e1e9d25c6b ---

[issue35488] pathlib Path.match does not behave as described

2018-12-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue35488] pathlib Path.match does not behave as described

2018-12-15 Thread anthony shaw
anthony shaw added the comment: Yes, this is similar to https://bugs.python.org/issue29249 In that issue, it suggests this feature is not supported, but that is neither documented, nor tested. -- nosy: -serhiy.storchaka ___ Python tracker

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread anthony shaw
anthony shaw added the comment: Raised a PR for the test. Will look into doc PR -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread anthony shaw
Change by anthony shaw : -- keywords: +patch pull_requests: +10410 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this similar to issue29249 (See also msg285311) and issue34731 ? As I can see in Lib/test/test_pathlib.py there are also no tests for "**" and I think it's good to add one along with documenting it. -- __

[issue35488] pathlib Path.match does not behave as described

2018-12-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35488] pathlib Path.match does not behave as described

2018-12-13 Thread anthony shaw
New submission from anthony shaw : The documentation for pathlib PurePath.match(needle) says it accepts "glob-style pattern.". For an absolute path with a recursive pattern (**) it doesn't match correct for more than 1 directory level. All of the assertions in the attached file should pass.