10000 gh-132952: Import _io instead of io at startup by JelleZijlstra · Pull Request #132957 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-132952: Import _io instead of io at startup #132957

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
merged 6 commits into from
Apr 28, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Also lazy-import in site
  • Loading branch information
JelleZijlstra committed Apr 26, 2025
commit e3432b72498ab1cad5007d5bb3a2f298c557bc8a
2 changes: 1 addition & 1 deletion Lib/site.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
import os
import builtins
import _sitebuiltins
import io
import _io as io
import stat

# Prefixes for site-packages; add additional prefixes like /usr/local here
Expand Down
0