René's URL Explorer Experiment


Title: GH-65961: Stop setting or using `__package__` on modules by brettcannon · Pull Request #142046 · python/cpython · GitHub

Open Graph Title: GH-65961: Stop setting or using `__package__` on modules by brettcannon · Pull Request #142046 · python/cpython

X Title: GH-65961: Stop setting or using `__package__` on modules by brettcannon · Pull Request #142046 · python/cpython

Description: Issue: update the import machinery to only use __spec__ #65961 📚 Documentation preview 📚: https://cpython-previews--142046.org.readthedocs.build/

Open Graph Description: Issue: update the import machinery to only use __spec__ #65961 📚 Documentation preview 📚: https://cpython-previews--142046.org.readthedocs.build/

X Description: Issue: update the import machinery to only use __spec__ #65961 📚 Documentation preview 📚: https://cpython-previews--142046.org.readthedocs.build/

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

X: @github

direct link

Domain: github.com

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:63dc45fb-3e7f-b18e-f2c6-091221d7ef90
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEE26:25B5C6:9769B9:D3562A:696A2F7F
html-safe-noncecde23e34b0cefb0970b7de80584166534570a1faedd5f8e8fbeda7180080fea2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRTI2OjI1QjVDNjo5NzY5Qjk6RDM1NjJBOjY5NkEyRjdGIiwidmlzaXRvcl9pZCI6IjI3MTgzOTc3NTY3NTE4ODQxNTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3b79d0420e4a4bdf86715940a3c9297f16b248f61012030934435978f3cf366d
hovercard-subject-tagpull_request:3054802720
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/142046/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3567da0a7ff70bcfd9318b54b2516437ee1a044cef318dff791273e2a1c7700e/python/cpython/pull/142046
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3567da0a7ff70bcfd9318b54b2516437ee1a044cef318dff791273e2a1c7700e/python/cpython/pull/142046
og:image:altIssue: update the import machinery to only use __spec__ #65961 📚 Documentation preview 📚: https://cpython-previews--142046.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrettcannon
hostnamegithub.com
expected-hostnamegithub.com
Noneade130928b3890d20ecf9c887468a17e88d5c9a740ea2a85c2c2162e7c58e623
turbo-cache-controlno-preview
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
releasec00842167ca2e5b13e8171812965d503e925ece6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/142046#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142046
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142046
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
Reloadhttps://github.com/python/cpython/pull/142046
Reloadhttps://github.com/python/cpython/pull/142046
Reloadhttps://github.com/python/cpython/pull/142046
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/142046
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/142046
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/142046#issue-comment-box
brettcannonhttps://github.com/brettcannon
python:mainhttps://github.com/python/cpython/tree/main
brettcannon:remove-__package__https://github.com/brettcannon/cpython/tree/remove-__package__
GH-65961: Stop setting or using __package__ on modules https://github.com/python/cpython/pull/142046#top
brettcannonhttps://github.com/brettcannon
python:mainhttps://github.com/python/cpython/tree/main
brettcannon:remove-__package__https://github.com/brettcannon/cpython/tree/remove-__package__
Conversation 4 https://github.com/python/cpython/pull/142046
Commits 8 https://github.com/python/cpython/pull/142046/commits
Checks 50 https://github.com/python/cpython/pull/142046/checks
Files changed https://github.com/python/cpython/pull/142046/files
Please reload this pagehttps://github.com/python/cpython/pull/142046
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025https://github.com/python/cpython/pull/142046#issue-3675763695
Please reload this pagehttps://github.com/python/cpython/pull/142046
update the import machinery to only use __spec__ #65961https://github.com/python/cpython/issues/65961
https://cpython-previews--142046.org.readthedocs.build/https://cpython-previews--142046.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/142046
brettcannonhttps://github.com/brettcannon
November 26, 2025 14:59https://github.com/python/cpython/pull/142046#commits-pushed-ff5fc7d
https://github.com/brettcannon
Initial attempthttps://github.com/python/cpython/pull/142046/commits/ff5fc7d3e01d501f080db74c9ae4de92671d96e8
ff5fc7dhttps://github.com/python/cpython/pull/142046/commits/ff5fc7d3e01d501f080db74c9ae4de92671d96e8
https://github.com/brettcannon
Fix test_importlibhttps://github.com/python/cpython/pull/142046/commits/d625711b06fdb292670e9b16682abc40c6e84833
d625711https://github.com/python/cpython/pull/142046/commits/d625711b06fdb292670e9b16682abc40c6e84833
https://github.com/brettcannon
Merge branch 'main' of github.com:python/cpython into remove-__package__https://github.com/python/cpython/pull/142046/commits/7bfde50d9103d483299fcb81cb2d69e4a7ebd8b6
7bfde50https://github.com/python/cpython/pull/142046/commits/7bfde50d9103d483299fcb81cb2d69e4a7ebd8b6
https://github.com/brettcannon
Fix test_cmd_line_scripthttps://github.com/python/cpython/pull/142046/commits/ff7547f9bc1ab0fd74af5d857fbe3b944271d064
ff7547fhttps://github.com/python/cpython/pull/142046/commits/ff7547f9bc1ab0fd74af5d857fbe3b944271d064
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 28, 2025 https://github.com/python/cpython/pull/142046#ref-issue-1198922271
update the import machinery to only use __spec__ #65961 https://github.com/python/cpython/issues/65961
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025https://github.com/python/cpython/pull/142046#issuecomment-3590210061
Please reload this pagehttps://github.com/python/cpython/pull/142046
brettcannonhttps://github.com/brettcannon
November 28, 2025 11:37https://github.com/python/cpython/pull/142046#commits-pushed-7f373ed
https://github.com/brettcannon
Merge branch 'main' into remove-__package__https://github.com/python/cpython/pull/142046/commits/7f373edfb2d3c6ad9f1d35f20a7a5854ef7c5064
7f373edhttps://github.com/python/cpython/pull/142046/commits/7f373edfb2d3c6ad9f1d35f20a7a5854ef7c5064
https://github.com/brettcannon
Add a news entryhttps://github.com/python/cpython/pull/142046/commits/2fe0f7466f349ddf9f62f66712973da2146ea6e8
2fe0f74https://github.com/python/cpython/pull/142046/commits/2fe0f7466f349ddf9f62f66712973da2146ea6e8
https://github.com/brettcannon
Merge branch 'remove-__package__' of github.com:brettcannon/cpython i…https://github.com/python/cpython/pull/142046/commits/b2cbe7fc444126cbdf184517ceba2b6fd94015ca
b2cbe7fhttps://github.com/python/cpython/pull/142046/commits/b2cbe7fc444126cbdf184517ceba2b6fd94015ca
https://github.com/brettcannon
Make Ruff happyhttps://github.com/python/cpython/pull/142046/commits/cb85b877f5a6508989c3c118eea58cc36e351841
cb85b87https://github.com/python/cpython/pull/142046/commits/cb85b877f5a6508989c3c118eea58cc36e351841
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025 https://github.com/python/cpython/pull/142046#ref-pullrequest-3676057083
GH-65961: Stop setting __package__ on modules #142055 https://github.com/python/cpython/pull/142055
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025https://github.com/python/cpython/pull/142046#issuecomment-3590645550
#142055https://github.com/python/cpython/pull/142055
Please reload this pagehttps://github.com/python/cpython/pull/142046
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025https://github.com/python/cpython/pull/142046#issuecomment-3590700670
https://github.com/pypa/pip/blob/36987b0c31b97ffb9fb7949ded628e9a6b10c016/src/pip/__main__.py#L13https://github.com/pypa/pip/blob/36987b0c31b97ffb9fb7949ded628e9a6b10c016/src/pip/__main__.py#L13
Please reload this pagehttps://github.com/python/cpython/pull/142046
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025https://github.com/python/cpython/pull/142046#issuecomment-3590700980
Please reload this pagehttps://github.com/python/cpython/pull/142046
https://github.com/brettcannon
brettcannonhttps://github.com/brettcannon
Nov 28, 2025https://github.com/python/cpython/pull/142046#event-21248993510
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%2F142046
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/gaogaotiantian
gaogaotiantian https://github.com/gaogaotiantian
https://github.com/terryjreedy
terryjreedy https://github.com/terryjreedy
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/asvetlov
asvetlov https://github.com/asvetlov
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/willingc
willingc https://github.com/willingc
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ncoghlan
ncoghlan https://github.com/ncoghlan
https://github.com/warsaw
warsaw https://github.com/warsaw
Please reload this pagehttps://github.com/python/cpython/pull/142046
https://github.com/brettcannon
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.