GH-81079: Add case_sensitive argument to `pathlib.Path.glob()` by barneygale · Pull Request #102710 · python/cpython · GitHub

github.com

Tin mới

barneygale:gh-81079-glob-case-sensitive-arg-2

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Add parameter @case_sensitive to glob and rglob in pathlib #81079

: Add case_sensitive argument to pathlib.Path.glob()

GH-77609: Add follow_symlinks argument to pathlib.Path.glob() #102616

Path.rglob performance issues in deeply nested directories compared to glob.glob(recursive=True) #102613

Merge branch 'main' into

Merge branch 'main' into

Merge branch 'main' into

Describe behaviour when case_sensitive is None.

GH-104102: Optimize pathlib.Path.glob() handling of ../ pattern segments #104103

GH-104104: Optimize pathlib.Path.glob() by avoiding repeated calls to os.path.normcase() #104105

Merge branch 'main' into

Restore _PreciseSelector

Revert "Restore _PreciseSelector"

Remove unused _is_wildcard_pattern() function

Optimize pathlib.Path.glob() by avoiding repeated calls to os.path.normcase() #104104

GH-104114: Fix pathlib.WindowsPath.glob() use of literal pattern segment case #104116

Merge branch 'main' into

GH-73435: Implement recursive wildcards in pathlib.PurePath.match() #101398

View reviewed changes

Update Doc/library/pathlib.rst

Pass flavour to selector initialiser

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Improve consistency between glob() and rglob() docs

Merge branch 'main' into inlinecomp2

Allow cases in ArtifactoryPath.glob() pattern devopshq/artifactory#429

Work around globbing performance in Python 3.12 SirVer/ultisnips#1696

Work around globbing performance in Python 3.12 (

python/cpython#117732