Closed
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
only security fixesonly security fixesPerformance or resource usagePerformance or resource usageA feature request or enhancementA feature request or enhancement