René's URL Explorer Experiment


Title: gh-154675: pprint use lazy imports by edvilme · Pull Request #156803 · python/cpython · GitHub

Open Graph Title: gh-154675: pprint use lazy imports by edvilme · Pull Request #156803 · python/cpython

X Title: gh-154675: pprint use lazy imports by edvilme · Pull Request #156803 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Use lazy imports instead of inline imports in pprint CC @johnslavik Issue: Improve import time of various stdlib modules #154675

X Description: Use lazy imports instead of inline imports in pprint CC @johnslavik Issue: Improve import time of various stdlib modules #154675

Opengraph URL: https://github.com/python/cpython/pull/156803

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:c30200ee-e586-bf3d-15cc-405d39a43d21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCDEA:2454CC:3B5A3E6:4B4943E:6B0204D7
html-safe-noncefc089e23d0e9fcbd719da03dd1409eda3c18ab0ceeac727a39ad904f42aabfd4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREVBOjI0NTRDQzozQjVBM0U2OjRCNDk0M0U6NkIwMjA0RDciLCJ2aXNpdG9yX2lkIjoiNjIxMjQyNTE1NDY5MDE1NTczNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6e9227a014a9a2586001fba96305a852e47ad16b47fff477d7e03671a17d3cfe
hovercard-subject-tagpull_request:4417176439
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/156803
twitter:imagehttps://opengraph.githubassets.com/31409a0c6b49bc6dc5af7b1cbd28a87a0ec1e0e125fa7a3fbb4114b9045be496/python/cpython/pull/156803
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/31409a0c6b49bc6dc5af7b1cbd28a87a0ec1e0e125fa7a3fbb4114b9045be496/python/cpython/pull/156803
og:image:altUse lazy imports instead of inline imports in pprint CC @johnslavik Issue: Improve import time of various stdlib modules #154675
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameedvilme
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/156803#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156803
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156803
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/156803
Reloadhttps://github.com/python/cpython/pull/156803
Reloadhttps://github.com/python/cpython/pull/156803
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
edvilmehttps://github.com/edvilme
python:mainhttps://github.com/python/cpython/tree/main
edvilme:pprint-lazy-importhttps://github.com/edvilme/cpython/tree/pprint-lazy-import
Conversationhttps://github.com/python/cpython/pull/156803
Commits3 (3)https://github.com/python/cpython/pull/156803/commits
Checkshttps://github.com/python/cpython/pull/156803/checks
Files changedhttps://github.com/python/cpython/pull/156803/files
gh-154675: pprint use lazy importshttps://github.com/python/cpython/pull/156803#top
edvilmehttps://github.com/edvilme
python:mainhttps://github.com/python/cpython/tree/main
edvilme:pprint-lazy-importhttps://github.com/edvilme/cpython/tree/pprint-lazy-import
https://github.com/edvilme
edvilmehttps://github.com/edvilme
Sep 1, 2026https://github.com/python/cpython/pull/156803#issue-5317865488
Please reload this pagehttps://github.com/python/cpython/pull/156803
@johnslavikhttps://github.com/johnslavik
Improve import time of various stdlib modules #154675https://github.com/python/cpython/issues/154675
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/edvilme
pythongh-154675https://github.com/python/cpython/issues/154675
: pprint use lazy importshttps://github.com/python/cpython/pull/156803/commits/928cb083b18d8f874d5baad1c4d478f41581cec7
928cb08https://github.com/python/cpython/pull/156803/commits/928cb083b18d8f874d5baad1c4d478f41581cec7
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 1, 2026 https://github.com/python/cpython/pull/156803#ref-issue-4974527438
Improve import time of various stdlib modules #154675 https://github.com/python/cpython/issues/154675
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 1, 2026https://github.com/python/cpython/pull/156803#event-30380507790
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/156803/commits/82d7d1f9ef474a73c299469b5a8175abdc256591
82d7d1fhttps://github.com/python/cpython/pull/156803/commits/82d7d1f9ef474a73c299469b5a8175abdc256591
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Sep 2, 2026 https://github.com/python/cpython/pull/156803#pullrequestreview-5087775630
View reviewed changes https://github.com/python/cpython/pull/156803/files/82d7d1f9ef474a73c299469b5a8175abdc256591
Lib/pprint.pyhttps://github.com/python/cpython/pull/156803/files/82d7d1f9ef474a73c299469b5a8175abdc256591#diff-2de5df6eb7096f61fad8ce401b98985b3e0f1c0710f82120b52b94df45f753be
johnslavikhttps://github.com/johnslavik
Sep 2, 2026https://github.com/python/cpython/pull/156803#discussion_r3912559063
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/156803
edvilmehttps://github.com/edvilme
Sep 2, 2026https://github.com/python/cpython/pull/156803#discussion_r3916215608
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
e055683https://github.com/python/cpython/commit/e0556834a346638f08b43d7b2f11a79a0226c561
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 2, 2026https://github.com/python/cpython/pull/156803#issuecomment-5512081483
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Sep 2, 2026https://github.com/python/cpython/pull/156803#issuecomment-5512345602
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
type-refactor https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-refactor
Sep 2, 2026https://github.com/python/cpython/pull/156803#event-30427665409
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 2, 2026https://github.com/python/cpython/pull/156803#issuecomment-5512399517
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/edvilme
Use private importshttps://github.com/python/cpython/pull/156803/commits/e0556834a346638f08b43d7b2f11a79a0226c561
e055683https://github.com/python/cpython/pull/156803/commits/e0556834a346638f08b43d7b2f11a79a0226c561
https://github.com/edvilme
edvilmehttps://github.com/edvilme
johnslavikhttps://github.com/johnslavik
September 2, 2026 16:40https://github.com/python/cpython/pull/156803#event-30430514660
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Sep 2, 2026https://github.com/python/cpython/pull/156803#issuecomment-5513829626
Please reload this pagehttps://github.com/python/cpython/pull/156803
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
Sep 2, 2026https://github.com/python/cpython/pull/156803#issuecomment-5513847038
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
pending https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Apending
Sep 2, 2026https://github.com/python/cpython/pull/156803#event-30434450769
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 2, 2026https://github.com/python/cpython/pull/156803#issuecomment-5515060297
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Sep 2, 2026https://github.com/python/cpython/pull/156803#event-30439917426
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156803
https://github.com/johnslavik
johnslavik https://github.com/johnslavik
Please reload this pagehttps://github.com/python/cpython/pull/156803
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
pending https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Apending
type-refactor https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-refactor
Please reload this pagehttps://github.com/python/cpython/pull/156803
https://github.com/edvilme
https://github.com/StanFromIreland
https://github.com/johnslavik
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.