| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:50e9795c-de1f-e74e-8935-c5db4202da15 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AF00:5D487:11FA6F8:17D8551:6B01EC16 |
| html-safe-nonce | a8acfef3f529e41920a5b9dd7b7afb513266e5f77ae603ce4bf0b82fe339d694 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjAwOjVENDg3OjExRkE2Rjg6MTdEODU1MTo2QjAxRUMxNiIsInZpc2l0b3JfaWQiOiI0Njk5MTIwMzQ0NTA0NTkzNDMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cadbc713bf5ff152255d7e93635f601666f14896c0176e717f235078e74a36de |
| hovercard-subject-tag | pull_request:4693279366 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/158521/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/58aa506fe92c31fbbde29e76dccde62f43b723ad2efe7739b9a9090b905ea21c/python/cpython/pull/158521 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58aa506fe92c31fbbde29e76dccde62f43b723ad2efe7739b9a9090b905ea21c/python/cpython/pull/158521 |
| og:image:alt | Fixes #158140. With lazy import pkg.a followed by lazy import pkg.b, accessing pkg.a currently imports pkg.b first. Resolve ordinary dotted imports through the existing pending-child lookup, withou... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pablogsal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/158521#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158521 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158521 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/158521 |
| Reload | https://github.com/python/cpython/pull/158521 |
| Reload | https://github.com/python/cpython/pull/158521 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| Yhg1s | https://github.com/Yhg1s |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:fix-158140-independent-submodules | https://github.com/pablogsal/cpython/tree/fix-158140-independent-submodules |
| Conversation | https://github.com/python/cpython/pull/158521 |
| Commits5 (5) | https://github.com/python/cpython/pull/158521/commits |
| Checks | https://github.com/python/cpython/pull/158521/checks |
| Files changed | https://github.com/python/cpython/pull/158521/files |
| gh-158140: Resolve lazily imported sibling submodules independently | https://github.com/python/cpython/pull/158521#top |
| Yhg1s | https://github.com/Yhg1s |
| python:main | https://github.com/python/cpython/tree/main |
| pablogsal:fix-158140-independent-submodules | https://github.com/pablogsal/cpython/tree/fix-158140-independent-submodules |
|
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Sep 30, 2026 | https://github.com/python/cpython/pull/158521#issue-5649782565 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| #158140 | https://github.com/python/cpython/issues/158140 |
| Accessing one lazily imported submodule (lazy import pkg.a) also imports a later imported pkg.b #158140 | https://github.com/python/cpython/issues/158140 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Sep 30, 2026
| https://github.com/python/cpython/pull/158521#ref-issue-5575482628 |
|
Accessing one lazily imported submodule (lazy import pkg.a) also imports a later imported pkg.b
#158140
| https://github.com/python/cpython/issues/158140 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
release-blocker
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Arelease-blocker |
| Sep 30, 2026 | https://github.com/python/cpython/pull/158521#event-32205253293 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Release and Deferred blockers 🚫 | https://github.com/orgs/python/projects/2 |
| Sep 30, 2026 | https://github.com/python/cpython/pull/158521#event-32312705195 |
| https://github.com/apps/github-project-automation |
| github-project-automation | https://github.com/apps/github-project-automation |
| Release and Deferred blockers 🚫 | https://github.com/orgs/python/projects/2 |
| Sep 30, 2026 | https://github.com/python/cpython/pull/158521#event-32411429849 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/662dfea6b8559cde6904c6bd710b57a49ecacde4..56babbca86fa92d99435c1f0b08ad98c10e111a3 |
| 662dfea | https://github.com/python/cpython/commit/662dfea6b8559cde6904c6bd710b57a49ecacde4 |
| 56babbc | https://github.com/python/cpython/commit/56babbca86fa92d99435c1f0b08ad98c10e111a3 |
|
Compare
| https://github.com/python/cpython/compare/662dfea6b8559cde6904c6bd710b57a49ecacde4..56babbca86fa92d99435c1f0b08ad98c10e111a3 |
| October 1, 2026 18:05 | https://github.com/python/cpython/pull/158521#event-32276311398 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Oct 1, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5938488861 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
|
| https://github.com/pablogsal |
| pythongh-158140 | https://github.com/python/cpython/issues/158140 |
| : Resolve lazy siblings through the pending-child regi… | https://github.com/python/cpython/pull/158521/commits/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| 4e83bfa | https://github.com/python/cpython/pull/158521/commits/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| force-pushed | https://github.com/python/cpython/compare/56babbca86fa92d99435c1f0b08ad98c10e111a3..4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| 56babbc | https://github.com/python/cpython/commit/56babbca86fa92d99435c1f0b08ad98c10e111a3 |
| 4e83bfa | https://github.com/python/cpython/commit/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
|
Compare
| https://github.com/python/cpython/compare/56babbca86fa92d99435c1f0b08ad98c10e111a3..4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| October 1, 2026 19:23 | https://github.com/python/cpython/pull/158521#event-32282012661 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| Oct 1, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5940751933 |
| @pablogsal | https://github.com/pablogsal |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| October 1, 2026 22:00 | https://github.com/python/cpython/pull/158521#event-32292431676 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| DinoV | https://github.com/DinoV |
| FFY00 | https://github.com/FFY00 |
| Yhg1s | https://github.com/Yhg1s |
| brettcannon | https://github.com/brettcannon |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| kumaraditya303 | https://github.com/kumaraditya303 |
| ncoghlan | https://github.com/ncoghlan |
| warsaw | https://github.com/warsaw |
| code owners | https://github.com/python/cpython/blob/a4f28a52b4b54c34100ee0891b9a15640ed3a7b2/.github/CODEOWNERS#L294 |
| October 1, 2026 22:00 | https://github.com/python/cpython/pull/158521#event-32292432615 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Oct 1, 2026 | https://github.com/python/cpython/pull/158521#event-32292435347 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5943065075 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5943179372 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5943332078 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#pullrequestreview-5387144138 |
|
View reviewed changes
| https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#pullrequestreview-5387155341 |
|
View reviewed changes
| https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#pullrequestreview-5387161750 |
|
View reviewed changes
| https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| Yhg1s | https://github.com/Yhg1s |
| https://github.com/python/cpython/pull/158521#pullrequestreview-5387161750 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32299926480 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#ref-pullrequest-5671854252 |
|
Nitpicks for removing names from sys.lazy_modules
brittanyrey/cpython#1
| https://github.com/brittanyrey/cpython/pull/1 |
| https://github.com/hugovk |
| hugovk | https://github.com/hugovk |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32310518311 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5945976252 |
| @hugovk | https://github.com/hugovk |
| 4e83bfa | https://github.com/python/cpython/commit/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158521%2Fmerge | https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158521%2Fmerge |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
🔨 test-with-buildbots
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22 |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32310520390 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#pullrequestreview-5385217426 |
|
View reviewed changes
| https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| Lib/test/test_lazy_import/__init__.py | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-9c7ed57cb280bfcf280bf31daf9747c91ca26b50196a9f84c1a38f105d83b31e |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#ref-pullrequest-5493304770 |
|
gh-155695: Remove resolved names from sys.lazy_modules more consistently
#157714
| https://github.com/python/cpython/pull/157714 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5951481764 |
| @Yhg1s | https://github.com/Yhg1s |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#pullrequestreview-5391302020 |
|
View reviewed changes
| https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5951557148 |
| @Yhg1s | https://github.com/Yhg1s |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#ref-issue-5677295229 |
|
Lazy import traceback points to another module's declaration
#158597
| https://github.com/python/cpython/issues/158597 |
| encukou | https://github.com/encukou |
| October 2, 2026 18:22 | https://github.com/python/cpython/pull/158521#commits-pushed-e612bf3 |
|
| https://github.com/encukou |
| Merge in the main branch | https://github.com/python/cpython/pull/158521/commits/e612bf3bdd54cbce6109a0ed36cb7426d4c99589 |
| e612bf3 | https://github.com/python/cpython/pull/158521/commits/e612bf3bdd54cbce6109a0ed36cb7426d4c99589 |
|
| https://github.com/encukou |
| Use lazy_import_path, not _name, when discarding from sys.lazy_modules | https://github.com/python/cpython/pull/158521/commits/30be4e18aaf8145f70d969d17cc572ea6b0762b3 |
| 30be4e1 | https://github.com/python/cpython/pull/158521/commits/30be4e18aaf8145f70d969d17cc572ea6b0762b3 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5956674407 |
| #157714 | https://github.com/python/cpython/pull/157714 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
|
| https://github.com/Yhg1s |
|
| https://github.com/encukou |
| Apply batched suggestions from code review | https://github.com/python/cpython/pull/158521/commits/541db05b961607df5d7a420ec86ece2a7010cae9 |
| 541db05 | https://github.com/python/cpython/pull/158521/commits/541db05b961607df5d7a420ec86ece2a7010cae9 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#pullrequestreview-5394265513 |
|
View reviewed changes
| https://github.com/python/cpython/pull/158521/files/30be4e18aaf8145f70d969d17cc572ea6b0762b3 |
| Lib/test/test_lazy_import/__init__.py | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-9c7ed57cb280bfcf280bf31daf9747c91ca26b50196a9f84c1a38f105d83b31e |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| Objects/lazyimportobject.c | https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
|
needs backport to 3.15
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22 |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32349766988 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| October 2, 2026 16:36 | https://github.com/python/cpython/pull/158521#event-32349775422 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| October 2, 2026 17:17 | https://github.com/python/cpython/pull/158521#event-32352239364 |
|
| https://github.com/Yhg1s |
| Merge branch 'main' into fix-158140-independent-submodules | https://github.com/python/cpython/pull/158521/commits/3838b0ce13a06a57b45f31f6716cf79f7f7fab8f |
| 3838b0c | https://github.com/python/cpython/pull/158521/commits/3838b0ce13a06a57b45f31f6716cf79f7f7fab8f |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| October 2, 2026 17:18 | https://github.com/python/cpython/pull/158521#event-32352300187 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| October 2, 2026 17:19 | https://github.com/python/cpython/pull/158521#event-32352367410 |
| https://github.com/Yhg1s |
| Yhg1s | https://github.com/Yhg1s |
| 00a1c3a | https://github.com/python/cpython/commit/00a1c3a0c94401095510a7022002f12bad118fbb |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32352380152 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5957608807 |
| @pablogsal | https://github.com/pablogsal |
| @Yhg1s | https://github.com/Yhg1s |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32352383829 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#issuecomment-5957613543 |
| GH-158613 | https://github.com/python/cpython/pull/158613 |
| 3.15 branch | https://github.com/python/cpython/tree/3.15 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.15
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22 |
| Oct 2, 2026 | https://github.com/python/cpython/pull/158521#event-32352401237 |
| hugovk | https://github.com/hugovk |
|
Oct 2, 2026
| https://github.com/python/cpython/pull/158521#ref-commit-03bb26f |
|
| https://github.com/miss-islington |
|
| https://github.com/pablogsal |
|
| https://github.com/encukou |
|
| https://github.com/Yhg1s |
|
| https://github.com/hugovk |
| [3.15] | https://github.com/python/cpython/commit/03bb26f89e81b9232fd3b3396ea8a6b7615f7e6e |
| gh-158140 | https://github.com/python/cpython/issues/158140 |
| : Resolve lazily imported sibling submodules independ… | https://github.com/python/cpython/commit/03bb26f89e81b9232fd3b3396ea8a6b7615f7e6e |
| 03bb26f | https://github.com/python/cpython/commit/03bb26f89e81b9232fd3b3396ea8a6b7615f7e6e |
| GH-158521 | https://github.com/python/cpython/pull/158521 |
| #158613 | https://github.com/python/cpython/pull/158613 |
| Kronuz | https://github.com/Kronuz |
|
Oct 5, 2026
| https://github.com/python/cpython/pull/158521#ref-commit-bcb3aa6 |
|
| https://github.com/miss-islington |
|
| https://github.com/pablogsal |
|
| https://github.com/encukou |
|
| https://github.com/Yhg1s |
|
| https://github.com/hugovk |
|
| https://github.com/Kronuz |
| [3.15] | https://github.com/Kronuz/cpython/commit/bcb3aa606815f01d5ffbf81242ac5672ab3f9460 |
| pythongh-158140 | https://github.com/python/cpython/issues/158140 |
| : Resolve lazily imported sibling submodules in… | https://github.com/Kronuz/cpython/commit/bcb3aa606815f01d5ffbf81242ac5672ab3f9460 |
| bcb3aa6 | https://github.com/Kronuz/cpython/commit/bcb3aa606815f01d5ffbf81242ac5672ab3f9460 |
| pythonGH-158521 | https://github.com/python/cpython/pull/158521 |
| python#158613 | https://github.com/python/cpython/pull/158613 |
| https://github.com/xv1rcn |
| xv1rcn | https://github.com/xv1rcn |
|
Oct 15, 2026
| https://github.com/python/cpython/pull/158521#ref-pullrequest-5869645760 |
|
gh-158597: Resolve lazy submodules with the declaration in scope
#159476
| https://github.com/python/cpython/pull/159476 |
| xv1rcn | https://github.com/xv1rcn |
|
Oct 15, 2026
| https://github.com/python/cpython/pull/158521#ref-commit-00db886 |
|
| https://github.com/xv1rcn |
| pythongh-158597 | https://github.com/python/cpython/issues/158597 |
| : Resolve lazy submodules with the declaration in scope | https://github.com/xv1rcn/cpython/commit/00db886877d37c0c418194a5f831d34c5d7e9e6f |
| 00db886 | https://github.com/xv1rcn/cpython/commit/00db886877d37c0c418194a5f831d34c5d7e9e6f |
| pythongh-158521 | https://github.com/python/cpython/pull/158521 |
| https://github.com/pablogsal |
| pablogsal | https://github.com/pablogsal |
|
Nov 21, 2026
| https://github.com/python/cpython/pull/158521#ref-pullrequest-6531376132 |
|
gh-158597: Keep private import hooks out of shared lazy submodules
#162392
| https://github.com/python/cpython/pull/162392 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158521 |
|
| https://github.com/encukou |
|
encukou
| https://github.com/encukou |
|
| https://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c |
|
| https://github.com/Yhg1s |
|
Yhg1s
| https://github.com/Yhg1s |
|
| https://github.com/python/cpython/pull/158521/files/30be4e18aaf8145f70d969d17cc572ea6b0762b3 |
|
| https://github.com/DinoV |
|
DinoV
| https://github.com/DinoV |
|
| https://github.com/ericsnowcurrently |
|
ericsnowcurrently
| https://github.com/ericsnowcurrently |
|
| https://github.com/brettcannon |
|
brettcannon
| https://github.com/brettcannon |
|
| https://github.com/ncoghlan |
|
ncoghlan
| https://github.com/ncoghlan |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
|
| https://github.com/FFY00 |
|
FFY00
| https://github.com/FFY00 |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
|
release-blocker
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Arelease-blocker |
|
Release and Deferred blockers 🚫
| https://github.com/orgs/python/projects/2 |
|
Accessing one lazily imported submodule (lazy import pkg.a) also imports a later imported pkg.b
| https://github.com/python/cpython/issues/158140 |
| Please reload this page | https://github.com/python/cpython/pull/158521 |
|
| https://github.com/pablogsal |
|
| https://github.com/Yhg1s |
|
| https://github.com/bedevere-bot |
|
| https://github.com/encukou |
|
| https://github.com/hugovk |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |