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: Revert move of pathlib globbing code to pathlib._glob #118678

Merged
merged 1 commit into from
May 7, 2024

Conversation

barneygale
Copy link
Contributor

@barneygale barneygale commented May 6, 2024

The previous change made the glob module slower to import, because it imported pathlib._glob and hence the rest of pathlib.

Sorry for the noise, everyone.

Reverts a40f557 / GH-118562

The previous change made the `glob` module slower to import, because it
imported `pathlib._glob` and hence the rest of `pathlib`.

Reverts a40f557.
@barneygale barneygale enabled auto-merge (squash) May 6, 2024 23:55
@barneygale barneygale merged commit b4bdf83 into python:main May 7, 2024
34 checks passed
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
…ob` (python#118678)

The previous change made the `glob` module slower to import, because it
imported `pathlib._glob` and hence the rest of `pathlib`.

Reverts a40f557.
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