-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement
Description
As part of removing "flavour" classes in #31691, I changed pathlib's glob()
implementation: previously it used re.IGNORECASE
to implement case-insensitive matches, whereas after it called os.path.normcase()
on the pattern and the paths. The new behaviour is a little slower, and I think we should restore the previous implementation.
Linked PRs
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixesperformancePerformance or resource usagePerformance or resource usagetopic-pathlibtype-featureA feature request or enhancementA feature request or enhancement