Skip to content

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

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

Closed
wants to merge 3 commits into from

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented Apr 10, 2024

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
Contributor Author

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

@barneygale barneygale closed this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant