-
-
Notifications
You must be signed in to change notification settings - Fork 32k
GH-102613: Fast recursive globbing in pathlib.Path.glob()
#104512
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
barneygale
merged 17 commits into
python:main
from
barneygale:gh-102613-remove-selector-classes
Jun 6, 2023
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
7a58251
GH-102613: Simplify implementation of `pathlib.Path.glob()`
barneygale d5b1836
Speed up matching `*`
barneygale d5c86c6
Add comments, docstrings.
barneygale 53dcb79
Merge branch 'main' into gh-102613-remove-selector-classes
barneygale 6da6a83
Merge branch 'main' into gh-102613-remove-selector-classes
barneygale 73ed81d
Merge branch 'main' into gh-102613-remove-selector-classes
barneygale 4005619
Add support for matching files recursively.
barneygale 9401d36
Implement walk-and-match algorithm.
barneygale b217587
Fix up docs, news blurb.
barneygale de7e857
Fix comment
barneygale d1023c7
Fix handling of newlines in filenames.
barneygale ad33eec
Speed up recursive selection
barneygale 064efdb
Exclude `self` from walk-and-match matching.
barneygale 14c6a58
Optimize walk-and-match logic.
barneygale 04720bd
Consume adjacent '**' segments before considering use of matching.
barneygale 9c6b44f
Add some more tests for complex patterns.
barneygale 4cfb836
Drop test case that doesn't work on Windows.
barneygale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add support for matching files recursively.
- Loading branch information
commit 40056194ebaac26f30c917bf32b34eacfee99d4a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.