8000 gh-104484: Add parameter @case_sensitive to pathlib.PurePath.match() function by thirumurugan-git · Pull Request #104565 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104484: Add parameter @case_sensitive to pathlib.PurePath.match() function #104565

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
May 18, 2023
Prev Previous commit
Next Next commit
Update Doc/whatsnew/3.12.rst
Co-authored-by: Barney Gale <barney.gale@gmail.com>
  • Loading branch information
thirumurugan-git and barneygale authored May 18, 2023
commit 90ed5c6f8f7260f0ddacdfce778799b3211ee145
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ pathlib
* Add :meth:`pathlib.Path.is_junction` as a proxy to :func:`os.path.isjunction`.
(Contributed by Charles Machalow in :gh:`99547`.)

* Add *case_sensitive* optional parameter to :meth:`pathlib.PurePath.glob`,
:meth:`pathlib.PurePath.rglob` and :meth:`pathlib.PurePath.match` for matching
* Add *case_sensitive* optional parameter to :meth:`pathlib.Path.glob`,
:meth:`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching
the path's case sensitivity, allowing for more precise control over the matching process.

dis
Expand Down
0