René's URL Explorer Experiment


Title: gh-158140: Resolve lazily imported sibling submodules independently by pablogsal · Pull Request #158521 · python/cpython · GitHub

Open Graph Title: gh-158140: Resolve lazily imported sibling submodules independently by pablogsal · Pull Request #158521 · python/cpython

X Title: gh-158140: Resolve lazily imported sibling submodules independently by pablogsal · Pull Request #158521 · python/cpython

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

Open Graph Description: 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...

X Description: 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...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:50e9795c-de1f-e74e-8935-c5db4202da15
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF00:5D487:11FA6F8:17D8551:6B01EC16
html-safe-noncea8acfef3f529e41920a5b9dd7b7afb513266e5f77ae603ce4bf0b82fe339d694
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjAwOjVENDg3OjExRkE2Rjg6MTdEODU1MTo2QjAxRUMxNiIsInZpc2l0b3JfaWQiOiI0Njk5MTIwMzQ0NTA0NTkzNDMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaccadbc713bf5ff152255d7e93635f601666f14896c0176e717f235078e74a36de
hovercard-subject-tagpull_request:4693279366
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/158521/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/58aa506fe92c31fbbde29e76dccde62f43b723ad2efe7739b9a9090b905ea21c/python/cpython/pull/158521
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/58aa506fe92c31fbbde29e76dccde62f43b723ad2efe7739b9a9090b905ea21c/python/cpython/pull/158521
og:image:altFixes #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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepablogsal
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/158521#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158521
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%2F158521
Sign uphttps://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
Reloadhttps://github.com/python/cpython/pull/158521
Reloadhttps://github.com/python/cpython/pull/158521
Reloadhttps://github.com/python/cpython/pull/158521
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
Yhg1shttps://github.com/Yhg1s
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:fix-158140-independent-submoduleshttps://github.com/pablogsal/cpython/tree/fix-158140-independent-submodules
Conversationhttps://github.com/python/cpython/pull/158521
Commits5 (5)https://github.com/python/cpython/pull/158521/commits
Checkshttps://github.com/python/cpython/pull/158521/checks
Files changedhttps://github.com/python/cpython/pull/158521/files
gh-158140: Resolve lazily imported sibling submodules independentlyhttps://github.com/python/cpython/pull/158521#top
Yhg1shttps://github.com/Yhg1s
python:mainhttps://github.com/python/cpython/tree/main
pablogsal:fix-158140-independent-submoduleshttps://github.com/pablogsal/cpython/tree/fix-158140-independent-submodules
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Sep 30, 2026https://github.com/python/cpython/pull/158521#issue-5649782565
Please reload this pagehttps://github.com/python/cpython/pull/158521
#158140https://github.com/python/cpython/issues/158140
Accessing one lazily imported submodule (lazy import pkg.a) also imports a later imported pkg.b #158140https://github.com/python/cpython/issues/158140
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/apps/bedevere-app
bedevere-apphttps://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
hugovkhttps://github.com/hugovk
release-blocker https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Arelease-blocker
Sep 30, 2026https://github.com/python/cpython/pull/158521#event-32205253293
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
Sep 30, 2026https://github.com/python/cpython/pull/158521#event-32312705195
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
Sep 30, 2026https://github.com/python/cpython/pull/158521#event-32411429849
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/662dfea6b8559cde6904c6bd710b57a49ecacde4..56babbca86fa92d99435c1f0b08ad98c10e111a3
662dfeahttps://github.com/python/cpython/commit/662dfea6b8559cde6904c6bd710b57a49ecacde4
56babbchttps://github.com/python/cpython/commit/56babbca86fa92d99435c1f0b08ad98c10e111a3
Compare https://github.com/python/cpython/compare/662dfea6b8559cde6904c6bd710b57a49ecacde4..56babbca86fa92d99435c1f0b08ad98c10e111a3
October 1, 2026 18:05https://github.com/python/cpython/pull/158521#event-32276311398
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
Oct 1, 2026https://github.com/python/cpython/pull/158521#issuecomment-5938488861
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/pablogsal
pythongh-158140https://github.com/python/cpython/issues/158140
: Resolve lazy siblings through the pending-child regi…https://github.com/python/cpython/pull/158521/commits/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c
4e83bfahttps://github.com/python/cpython/pull/158521/commits/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c
https://github.com/pablogsal
pablogsalhttps://github.com/pablogsal
force-pushedhttps://github.com/python/cpython/compare/56babbca86fa92d99435c1f0b08ad98c10e111a3..4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c
56babbchttps://github.com/python/cpython/commit/56babbca86fa92d99435c1f0b08ad98c10e111a3
4e83bfahttps://github.com/python/cpython/commit/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c
Compare https://github.com/python/cpython/compare/56babbca86fa92d99435c1f0b08ad98c10e111a3..4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c
October 1, 2026 19:23https://github.com/python/cpython/pull/158521#event-32282012661
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Oct 1, 2026https://github.com/python/cpython/pull/158521#issuecomment-5940751933
@pablogsalhttps://github.com/pablogsal
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
October 1, 2026 22:00https://github.com/python/cpython/pull/158521#event-32292431676
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
DinoVhttps://github.com/DinoV
FFY00https://github.com/FFY00
Yhg1shttps://github.com/Yhg1s
brettcannonhttps://github.com/brettcannon
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
kumaraditya303https://github.com/kumaraditya303
ncoghlanhttps://github.com/ncoghlan
warsawhttps://github.com/warsaw
code ownershttps://github.com/python/cpython/blob/a4f28a52b4b54c34100ee0891b9a15640ed3a7b2/.github/CODEOWNERS#L294
October 1, 2026 22:00https://github.com/python/cpython/pull/158521#event-32292432615
https://github.com/apps/bedevere-app
bedevere-apphttps://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, 2026https://github.com/python/cpython/pull/158521#event-32292435347
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5943065075
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5943179372
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5943332078
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://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.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://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.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://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
Yhg1shttps://github.com/Yhg1s
https://github.com/python/cpython/pull/158521#pullrequestreview-5387161750
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/158521
Objects/lazyimportobject.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
Objects/lazyimportobject.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/apps/bedevere-app
bedevere-apphttps://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, 2026https://github.com/python/cpython/pull/158521#event-32299926480
https://github.com/encukou
encukouhttps://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
hugovkhttps://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, 2026https://github.com/python/cpython/pull/158521#event-32310518311
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5945976252
@hugovkhttps://github.com/hugovk
4e83bfahttps://github.com/python/cpython/commit/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158521%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158521%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/bedevere-bot
bedevere-bothttps://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, 2026https://github.com/python/cpython/pull/158521#event-32310520390
https://github.com/encukou
encukouhttps://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__.pyhttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-9c7ed57cb280bfcf280bf31daf9747c91ca26b50196a9f84c1a38f105d83b31e
Please reload this pagehttps://github.com/python/cpython/pull/158521
Objects/lazyimportobject.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/encukou
encukouhttps://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
pablogsalhttps://github.com/pablogsal
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5951481764
@Yhg1shttps://github.com/Yhg1s
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://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.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5951557148
@Yhg1shttps://github.com/Yhg1s
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/pablogsal
pablogsalhttps://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
encukouhttps://github.com/encukou
October 2, 2026 18:22https://github.com/python/cpython/pull/158521#commits-pushed-e612bf3
https://github.com/encukou
Merge in the main branchhttps://github.com/python/cpython/pull/158521/commits/e612bf3bdd54cbce6109a0ed36cb7426d4c99589
e612bf3https://github.com/python/cpython/pull/158521/commits/e612bf3bdd54cbce6109a0ed36cb7426d4c99589
https://github.com/encukou
Use lazy_import_path, not _name, when discarding from sys.lazy_moduleshttps://github.com/python/cpython/pull/158521/commits/30be4e18aaf8145f70d969d17cc572ea6b0762b3
30be4e1https://github.com/python/cpython/pull/158521/commits/30be4e18aaf8145f70d969d17cc572ea6b0762b3
https://github.com/encukou
encukouhttps://github.com/encukou
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5956674407
#157714https://github.com/python/cpython/pull/157714
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
https://github.com/encukou
Apply batched suggestions from code reviewhttps://github.com/python/cpython/pull/158521/commits/541db05b961607df5d7a420ec86ece2a7010cae9
541db05https://github.com/python/cpython/pull/158521/commits/541db05b961607df5d7a420ec86ece2a7010cae9
https://github.com/Yhg1s
Yhg1shttps://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__.pyhttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-9c7ed57cb280bfcf280bf31daf9747c91ca26b50196a9f84c1a38f105d83b31e
Please reload this pagehttps://github.com/python/cpython/pull/158521
Objects/lazyimportobject.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
Objects/lazyimportobject.chttps://github.com/python/cpython/pull/158521/files/4e83bfa0fa9841d7e2c7b1d53452e6cf407ba83c#diff-362fa1f6146fe0049dde412c8f168e18b426ac50e4b11361611337a30309d935
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/Yhg1s
Yhg1shttps://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, 2026https://github.com/python/cpython/pull/158521#event-32349766988
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
October 2, 2026 16:36https://github.com/python/cpython/pull/158521#event-32349775422
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
October 2, 2026 17:17https://github.com/python/cpython/pull/158521#event-32352239364
https://github.com/Yhg1s
Merge branch 'main' into fix-158140-independent-submoduleshttps://github.com/python/cpython/pull/158521/commits/3838b0ce13a06a57b45f31f6716cf79f7f7fab8f
3838b0chttps://github.com/python/cpython/pull/158521/commits/3838b0ce13a06a57b45f31f6716cf79f7f7fab8f
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
October 2, 2026 17:18https://github.com/python/cpython/pull/158521#event-32352300187
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
October 2, 2026 17:19https://github.com/python/cpython/pull/158521#event-32352367410
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
00a1c3ahttps://github.com/python/cpython/commit/00a1c3a0c94401095510a7022002f12bad118fbb
Oct 2, 2026https://github.com/python/cpython/pull/158521#event-32352380152
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5957608807
@pablogsalhttps://github.com/pablogsal
@Yhg1shttps://github.com/Yhg1s
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 2, 2026https://github.com/python/cpython/pull/158521#event-32352383829
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 2, 2026https://github.com/python/cpython/pull/158521#issuecomment-5957613543
GH-158613https://github.com/python/cpython/pull/158613
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/158521
https://github.com/apps/bedevere-app
bedevere-apphttps://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, 2026https://github.com/python/cpython/pull/158521#event-32352401237
hugovkhttps://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-158140https://github.com/python/cpython/issues/158140
: Resolve lazily imported sibling submodules independ…https://github.com/python/cpython/commit/03bb26f89e81b9232fd3b3396ea8a6b7615f7e6e
03bb26fhttps://github.com/python/cpython/commit/03bb26f89e81b9232fd3b3396ea8a6b7615f7e6e
GH-158521https://github.com/python/cpython/pull/158521
#158613https://github.com/python/cpython/pull/158613
Kronuzhttps://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-158140https://github.com/python/cpython/issues/158140
: Resolve lazily imported sibling submodules in…https://github.com/Kronuz/cpython/commit/bcb3aa606815f01d5ffbf81242ac5672ab3f9460
bcb3aa6https://github.com/Kronuz/cpython/commit/bcb3aa606815f01d5ffbf81242ac5672ab3f9460
pythonGH-158521https://github.com/python/cpython/pull/158521
python#158613https://github.com/python/cpython/pull/158613
https://github.com/xv1rcn
xv1rcnhttps://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
xv1rcnhttps://github.com/xv1rcn
Oct 15, 2026 https://github.com/python/cpython/pull/158521#ref-commit-00db886
https://github.com/xv1rcn
pythongh-158597https://github.com/python/cpython/issues/158597
: Resolve lazy submodules with the declaration in scopehttps://github.com/xv1rcn/cpython/commit/00db886877d37c0c418194a5f831d34c5d7e9e6f
00db886https://github.com/xv1rcn/cpython/commit/00db886877d37c0c418194a5f831d34c5d7e9e6f
pythongh-158521https://github.com/python/cpython/pull/158521
https://github.com/pablogsal
pablogsalhttps://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 freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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 pagehttps://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
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.