Title: Improve import time of various stdlib modules · Issue #137855 · python/cpython · GitHub
Open Graph Title: Improve import time of various stdlib modules · Issue #137855 · python/cpython
X Title: Improve import time of various stdlib modules · Issue #137855 · python/cpython
Description: Feature or enhancement Proposal: Following on from #118761 (comment), further improvements can be made to import times. Notes We should backport ensure_lazy_imports tests for the 3.14 improvements, to help guard against regressions. Link...
Open Graph Description: Feature or enhancement Proposal: Following on from #118761 (comment), further improvements can be made to import times. Notes We should backport ensure_lazy_imports tests for the 3.14 improvements,...
X Description: Feature or enhancement Proposal: Following on from #118761 (comment), further improvements can be made to import times. Notes We should backport ensure_lazy_imports tests for the 3.14 improvements,...
Opengraph URL: https://github.com/python/cpython/issues/137855
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve import time of various stdlib modules","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nFollowing on from https://github.com/python/cpython/issues/118761#issuecomment-3191085888, further improvements can be made to import times.\n\n### Notes\n\nWe should backport `ensure_lazy_imports` tests for the 3.14 improvements, to help guard against regressions.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-131796\n* gh-132046\n* gh-131956\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/ofek","@type":"Person","name":"ofek"},"datePublished":"2025-08-16T13:24:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/137855/cpython/issues/137855"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:de7010c6-00e0-d70a-6152-6b0764a85e43 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED98:AA79F:52AA2F:742CF4:696A0E79 |
| html-safe-nonce | f0a09b7d7a077cd5dc2b429734c41274df468effd72687fc1824c575024cffe5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDk4OkFBNzlGOjUyQUEyRjo3NDJDRjQ6Njk2QTBFNzkiLCJ2aXNpdG9yX2lkIjoiNTAzMjY3MTQ5Nzc0MTk2MzQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b5e791d0e8d16a7e6b7755be38e57f9c5e158b758bf01143fb7823ece176a4cf |
| hovercard-subject-tag | issue:3327278419 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/137855/issue_layout |
| twitter:image | https://opengraph.githubassets.com/526062179a76e80db67455fc015974b0dcccaeb4d111a369f09e529cdd4104aa/python/cpython/issues/137855 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/526062179a76e80db67455fc015974b0dcccaeb4d111a369f09e529cdd4104aa/python/cpython/issues/137855 |
| og:image:alt | Feature or enhancement Proposal: Following on from #118761 (comment), further improvements can be made to import times. Notes We should backport ensure_lazy_imports tests for the 3.14 improvements,... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ofek |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width