gh-132952: Speed up startup by importing _io instead of io (#132957)

This commit is contained in:
Jelle Zijlstra 2025-04-28 08:38:56 -07:00 committed by GitHub
parent 7f16f1bc11
commit 58567cc18c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 50 additions and 6 deletions

View file

@ -73,7 +73,7 @@ import sys
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