Skip to content
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

GH-116380: Move pathlib globbing implementation into pathlib._glob #118562

Merged
merged 1 commit into from
May 3, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented May 3, 2024

Moving this code under the pathlib package makes it quite a lot easier to backport in the pathlib-abc PyPI package. It was a bit foolish of me to add it to glob in the first place.

Also add translate() to __all__ in glob. This function is new in 3.13, so there's no NEWS needed.

…glob`

Moving this code under the `pathlib` package makes it quite a lot easier
to backport in the `pathlib-abc` PyPI package. It was a bit foolish of me
to add it to `glob` in the first place.

Also add `translate()` to `__all__` in `glob`. This function is new in
3.13, so there's no NEWS needed.
@barneygale barneygale enabled auto-merge (squash) May 3, 2024 20:24
@barneygale barneygale merged commit a40f557 into python:main May 3, 2024
33 checks passed
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
…glob` (python#118562)

Moving this code under the `pathlib` package makes it quite a lot easier
to backport in the `pathlib-abc` PyPI package. It was a bit foolish of me
to add it to `glob` in the first place.

Also add `translate()` to `__all__` in `glob`. This function is new in
3.13, so there's no NEWS needed.
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