◐ Shell
clean mode source ↗

GH-127381: pathlib ABCs: remove `JoinablePath.match()` by barneygale · Pull Request #129147 · python/cpython

@barneygale

Unlike `ReadablePath.[r]glob()` and `JoinablePath.full_match()`, the
`JoinablePath.match()` method doesn't support the recursive wildcard `**`,
and matches from the right when a fully relative pattern is given. These
quirks means its probably unsuitable for inclusion in the pathlib ABCs,
especially given `full_match()` handles the same use case.