Tin mới
barneygale:gh-73435-pathlib-match-recursive
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
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
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Support recursive wildcards in pathlib.PurePath.match() #73435
: Implement recursive wildcards in pathlib.PurePath.mat…
pathlib.PureWindowsPath.match() mishandles path anchors #101360
Cache translation of individual components
Drop 'recursive' argument, make this the only behaviour.
Undo modifications to fnmatch.py
GH-77609: Add follow_symlinks argument to pathlib.Path.glob() #102616
'*' matches entire path in fnmatch #72904
Simplify patch; prepare for use in glob()
Make better use of path object caching.
Skip re-initialisation of PurePath patterns.
Use re.IGNORECASE rather than os.path.normcase()
Remove unneeded from None suffix, whoops.
Tiny performance improvement: avoid accessing path.parts