Issue 34731: pathlib path.match misshandles multiple **
(original) (raw)
Issue34731
Created on 2018-09-19 05:34 by Ronny.Pfannschmidt, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg325701 - (view) | Author: Ronny Pfannschmidt (Ronny.Pfannschmidt) | Date: 2018-09-19 05:34 |
when porting parts of pytest to pathlib we noted that `path.match` does not quite match normal fnmatch for usages of `**` i believe this is related to always splitting the patter completely and not handling `**` in that case Bruno wrote https://github.com/pytest-dev/pytest/pull/3980/files#diff-63fc5ed688925b327a5af20405bf4b09R19 as a workaround | ||
msg325703 - (view) | Author: Berker Peksag (berker.peksag) * ![]() |
Date: 2018-09-19 06:11 |
Thanks for the report. This looks like a duplicate of issue 29249. | ||
msg325734 - (view) | Author: Ronny Pfannschmidt (Ronny.Pfannschmidt) | Date: 2018-09-19 08:13 |
indeed it is, thanks for the reference i searched only for match and missed the glob |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:59:06 | admin | set | github: 78912 |
2018-09-19 09:01:05 | berker.peksag | set | superseder: Pathlib glob ** bug |
2018-09-19 08:13:51 | Ronny.Pfannschmidt | set | status: open -> closedresolution: duplicatemessages: + stage: resolved |
2018-09-19 06:11:36 | berker.peksag | set | nosy: + berker.peksagmessages: + |
2018-09-19 05:34:46 | Ronny.Pfannschmidt | create |