René's URL Explorer Experiment


Title: gh-65961: Deprecate `__cached__` by brettcannon · Pull Request #97990 · python/cpython · GitHub

Open Graph Title: gh-65961: Deprecate `__cached__` by brettcannon · Pull Request #97990 · python/cpython

X Title: gh-65961: Deprecate `__cached__` by brettcannon · Pull Request #97990 · python/cpython

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

Open Graph Description: Rely on __spec__.cached in all cases. Issue: update the import machinery to only use __spec__ #65961

X Description: Rely on __spec__.cached in all cases. Issue: update the import machinery to only use __spec__ #65961

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:a619e6a6-241c-b657-f85a-490eba593d3d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idABFC:245D90:47A27B:605347:6969DE2E
html-safe-nonce48125b0890a57338440d95c41c0d55e23585aca74a04f3c20583f62f578aa85d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQkZDOjI0NUQ5MDo0N0EyN0I6NjA1MzQ3OjY5NjlERTJFIiwidmlzaXRvcl9pZCI6IjY4NzY5MjkyNDA0MzE0NTE2OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac24a111eac513d05b475dcb62e2f54a43e30797b659a8c38c0bf771378ce211a8
hovercard-subject-tagpull_request:1079510658
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/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/97990/commits
twitter:imagehttps://opengraph.githubassets.com/9b9b1133780b05d97b84772ab5dbf67d79825b84f13e93204fd7ca85de8a887a/python/cpython/pull/97990
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9b9b1133780b05d97b84772ab5dbf67d79825b84f13e93204fd7ca85de8a887a/python/cpython/pull/97990
og:image:altRely on __spec__.cached in all cases. Issue: update the import machinery to only use __spec__ #65961
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrettcannon
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/97990/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F97990%2Fcommits
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%2F97990%2Fcommits
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%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/97990/commits
Reloadhttps://github.com/python/cpython/pull/97990/commits
Reloadhttps://github.com/python/cpython/pull/97990/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/97990/commits
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/97990/commits
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
brettcannonhttps://github.com/brettcannon
python:mainhttps://github.com/python/cpython/tree/main
brettcannon:deprecate-__cached__https://github.com/brettcannon/cpython/tree/deprecate-__cached__
Conversationhttps://github.com/python/cpython/pull/97990
Commits9 (9)https://github.com/python/cpython/pull/97990/commits
Checkshttps://github.com/python/cpython/pull/97990/checks
Files changedhttps://github.com/python/cpython/pull/97990/files
gh-65961: Deprecate __cached__https://github.com/python/cpython/pull/97990/commits#top
brettcannonhttps://github.com/brettcannon
python:mainhttps://github.com/python/cpython/tree/main
brettcannon:deprecate-__cached__https://github.com/brettcannon/cpython/tree/deprecate-__cached__
gh-65961: do not rely solely on `__cached__`https://github.com/python/cpython/pull/97990/commits/139c8ceaa9209d0034d03925a94f1c80e1717f04
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
139c8cehttps://github.com/python/cpython/pull/97990/commits/139c8ceaa9209d0034d03925a94f1c80e1717f04
https://github.com/python/cpython/tree/139c8ceaa9209d0034d03925a94f1c80e1717f04
Add a news entryhttps://github.com/python/cpython/pull/97990/commits/b1c4e2a0b2166c02416315e1e5ef319fbb51b338
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
b1c4e2ahttps://github.com/python/cpython/pull/97990/commits/b1c4e2a0b2166c02416315e1e5ef319fbb51b338
https://github.com/python/cpython/tree/b1c4e2a0b2166c02416315e1e5ef319fbb51b338
Update What's Newhttps://github.com/python/cpython/pull/97990/commits/2541729184ed35b3203748445873ae06b4198e15
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
2541729https://github.com/python/cpython/pull/97990/commits/2541729184ed35b3203748445873ae06b4198e15
https://github.com/python/cpython/tree/2541729184ed35b3203748445873ae06b4198e15
Merge branch 'main' of https://github.com/python/cpython into deprecate-__cached__https://github.com/python/cpython/pull/97990/commits/2d4ad1da996c25e73f509f6a8a6a05df72c2257d
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
2d4ad1dhttps://github.com/python/cpython/pull/97990/commits/2d4ad1da996c25e73f509f6a8a6a05df72c2257d
https://github.com/python/cpython/tree/2d4ad1da996c25e73f509f6a8a6a05df72c2257d
Merge branch 'main' into deprecate-__cached__https://github.com/python/cpython/pull/97990/commits/e1269dce9efa7ba71cdbfc18c65221c4a494920f
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
e1269dchttps://github.com/python/cpython/pull/97990/commits/e1269dce9efa7ba71cdbfc18c65221c4a494920f
https://github.com/python/cpython/tree/e1269dce9efa7ba71cdbfc18c65221c4a494920f
Link to `ModuleSpec` in `versionchanged` noticeshttps://github.com/python/cpython/pull/97990/commits/e8f74e40e90aaeffe8d8caa0ebc3e6fdb38001fc
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
e8f74e4https://github.com/python/cpython/pull/97990/commits/e8f74e40e90aaeffe8d8caa0ebc3e6fdb38001fc
https://github.com/python/cpython/tree/e8f74e40e90aaeffe8d8caa0ebc3e6fdb38001fc
Merge branch 'deprecate-__cached__' of https://github.com/brettcannon/cpython into deprecate-__cached__https://github.com/python/cpython/pull/97990/commits/3e88550db437136252d6a846e709ab2626cacfc7
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
3e88550https://github.com/python/cpython/pull/97990/commits/3e88550db437136252d6a846e709ab2626cacfc7
https://github.com/python/cpython/tree/3e88550db437136252d6a846e709ab2626cacfc7
Merge branch 'main' into deprecate-__cached__https://github.com/python/cpython/pull/97990/commits/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
5fd8b61https://github.com/python/cpython/pull/97990/commits/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc
https://github.com/python/cpython/tree/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc
Merge branch 'main' into deprecate-__cached__https://github.com/python/cpython/pull/97990/commits/f9f03d81968a8cc6e858b0505dd77f63d1834783
https://github.com/brettcannon
brettcannonhttps://github.com/python/cpython/commits?author=brettcannon
f9f03d8https://github.com/python/cpython/pull/97990/commits/f9f03d81968a8cc6e858b0505dd77f63d1834783
https://github.com/python/cpython/tree/f9f03d81968a8cc6e858b0505dd77f63d1834783
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.