Skip to content

GH-116380: Support dir_fd argument in glob._Globber. - #117737

Closed
barneygale wants to merge 3 commits into
python:mainfrom
barneygale:gh-116380-dir-fd
Closed

GH-116380: Support dir_fd argument in glob._Globber.#117737
barneygale wants to merge 3 commits into
python:mainfrom
barneygale:gh-116380-dir-fd

Conversation

@barneygale

@barneygalebarneygale commented Apr 10, 2024

Copy link
Copy Markdown
Contributor

Add support for globbing relative to a file descriptor in our internal glob._Globber class. This is necessary for unifying the glob and pathlib globbing implementations.

The new functionality isn't exposed in pathlib.Path.glob(). It easily could be.

Add support for globbing relative to a file descriptor in our internal
`glob._Globber` class. This is necessary for unifying the `glob` and
`pathlib` globbing implementations.
The new functionality isn't exposed in `pathlib.Path.glob()`. It easily
could be.
@barneygale

Copy link
Copy Markdown
ContributorAuthor

Closing - I've folded this back into #116392.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@barneygale