| 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:e806e6e1-8bb5-9971-6386-11967ce4d9c8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D4B2:169ED8:185E4CE:209B04F:6969BD79 |
| html-safe-nonce | b5a2a5ccc25110d73219ef0983b8bc6238cc03f5985d848314126278dc0cd95f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEIyOjE2OUVEODoxODVFNENFOjIwOUIwNEY6Njk2OUJENzkiLCJ2aXNpdG9yX2lkIjoiODc5MzQyNzU5NzMzNzQxMDkzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 760a25a6daefdf86e7f7c1bc3dd9749e9a45c8d19d7172f4ad3aae66da230e85 |
| hovercard-subject-tag | pull_request:1079510658 |
| 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/97990/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/9b9b1133780b05d97b84772ab5dbf67d79825b84f13e93204fd7ca85de8a887a/python/cpython/pull/97990 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b9b1133780b05d97b84772ab5dbf67d79825b84f13e93204fd7ca85de8a887a/python/cpython/pull/97990 |
| og:image:alt | Rely on __spec__.cached in all cases.
Issue: update the import machinery to only use __spec__ #65961 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brettcannon |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/97990#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F97990 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
|
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/97990 |
| Reload | https://github.com/python/cpython/pull/97990 |
| Reload | https://github.com/python/cpython/pull/97990 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/97990 |
|
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 page | https://github.com/python/cpython/pull/97990 |
|
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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/97990#issue-comment-box |
| brettcannon | https://github.com/brettcannon |
| python:main | https://github.com/python/cpython/tree/main |
| brettcannon:deprecate-__cached__ | https://github.com/brettcannon/cpython/tree/deprecate-__cached__ |
|
gh-65961: Deprecate __cached__
| https://github.com/python/cpython/pull/97990#top |
| brettcannon | https://github.com/brettcannon |
| python:main | https://github.com/python/cpython/tree/main |
| brettcannon:deprecate-__cached__ | https://github.com/brettcannon/cpython/tree/deprecate-__cached__ |
|
Conversation
0
| https://github.com/python/cpython/pull/97990 |
|
Commits
9
| https://github.com/python/cpython/pull/97990/commits |
|
Checks
0
| https://github.com/python/cpython/pull/97990/checks |
|
Files changed
| https://github.com/python/cpython/pull/97990/files |
| Please reload this page | https://github.com/python/cpython/pull/97990 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| Oct 6, 2022 | https://github.com/python/cpython/pull/97990#issue-1400203878 |
| Please reload this page | https://github.com/python/cpython/pull/97990 |
| update the import machinery to only use __spec__ #65961 | https://github.com/python/cpython/issues/65961 |
| Please reload this page | https://github.com/python/cpython/pull/97990 |
| brettcannon | https://github.com/brettcannon |
| October 6, 2022 10:58 | https://github.com/python/cpython/pull/97990#commits-pushed-139c8ce |
|
| https://github.com/brettcannon |
| pythongh-65961 | https://github.com/python/cpython/issues/65961 |
| : do not rely solely on | https://github.com/python/cpython/pull/97990/commits/139c8ceaa9209d0034d03925a94f1c80e1717f04 |
| __cached__ | https://github.com/python/cpython/pull/97990/commits/139c8ceaa9209d0034d03925a94f1c80e1717f04 |
| 139c8ce | https://github.com/python/cpython/pull/97990/commits/139c8ceaa9209d0034d03925a94f1c80e1717f04 |
|
| https://github.com/brettcannon |
| Add a news entry | https://github.com/python/cpython/pull/97990/commits/b1c4e2a0b2166c02416315e1e5ef319fbb51b338 |
| b1c4e2a | https://github.com/python/cpython/pull/97990/commits/b1c4e2a0b2166c02416315e1e5ef319fbb51b338 |
|
| https://github.com/brettcannon |
| Update What's New | https://github.com/python/cpython/pull/97990/commits/2541729184ed35b3203748445873ae06b4198e15 |
| 2541729 | https://github.com/python/cpython/pull/97990/commits/2541729184ed35b3203748445873ae06b4198e15 |
|
| https://github.com/brettcannon |
| Merge branch 'main' of | https://github.com/python/cpython/pull/97990/commits/2d4ad1da996c25e73f509f6a8a6a05df72c2257d |
| https://github.com/python/cpython | https://github.com/python/cpython |
| into depreca… | https://github.com/python/cpython/pull/97990/commits/2d4ad1da996c25e73f509f6a8a6a05df72c2257d |
| 2d4ad1d | https://github.com/python/cpython/pull/97990/commits/2d4ad1da996c25e73f509f6a8a6a05df72c2257d |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| warsaw | https://github.com/warsaw |
| October 6, 2022 19:36 | https://github.com/python/cpython/pull/97990#event-7538125887 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Oct 6, 2022 | https://github.com/python/cpython/pull/97990#event-7538126208 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
|
Oct 6, 2022
| https://github.com/python/cpython/pull/97990#ref-issue-1198922271 |
|
update the import machinery to only use __spec__
#65961
| https://github.com/python/cpython/issues/65961 |
| brettcannon | https://github.com/brettcannon |
| October 6, 2022 13:43 | https://github.com/python/cpython/pull/97990#commits-pushed-e1269dc |
|
| https://github.com/brettcannon |
| Merge branch 'main' into deprecate-__cached__ | https://github.com/python/cpython/pull/97990/commits/e1269dce9efa7ba71cdbfc18c65221c4a494920f |
| e1269dc | https://github.com/python/cpython/pull/97990/commits/e1269dce9efa7ba71cdbfc18c65221c4a494920f |
|
| https://github.com/brettcannon |
| Link to ModuleSpec in versionchanged notices | https://github.com/python/cpython/pull/97990/commits/e8f74e40e90aaeffe8d8caa0ebc3e6fdb38001fc |
| e8f74e4 | https://github.com/python/cpython/pull/97990/commits/e8f74e40e90aaeffe8d8caa0ebc3e6fdb38001fc |
|
| https://github.com/brettcannon |
| Merge branch 'deprecate-__cached__' of | https://github.com/python/cpython/pull/97990/commits/3e88550db437136252d6a846e709ab2626cacfc7 |
| https://github.com/brettcannon… | https://github.com/brettcannon/cpython |
| 3e88550 | https://github.com/python/cpython/pull/97990/commits/3e88550db437136252d6a846e709ab2626cacfc7 |
| …/cpython | https://github.com/brettcannon/cpython |
|
| https://github.com/brettcannon |
| Merge branch 'main' into deprecate-__cached__ | https://github.com/python/cpython/pull/97990/commits/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc |
| 5fd8b61 | https://github.com/python/cpython/pull/97990/commits/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc |
| https://github.com/warsaw |
| warsaw | https://github.com/warsaw |
|
Oct 6, 2022
| https://github.com/python/cpython/pull/97990#pullrequestreview-1133632660 |
|
View reviewed changes
| https://github.com/python/cpython/pull/97990/files/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
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 6, 2022 | https://github.com/python/cpython/pull/97990#event-7538652208 |
|
| https://github.com/brettcannon |
| Merge branch 'main' into deprecate-__cached__ | https://github.com/python/cpython/pull/97990/commits/f9f03d81968a8cc6e858b0505dd77f63d1834783 |
| f9f03d8 | https://github.com/python/cpython/pull/97990/commits/f9f03d81968a8cc6e858b0505dd77f63d1834783 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| e1c4d56 | https://github.com/python/cpython/commit/e1c4d56fdde28728c37de855edbb463fa0d7f95d |
| Oct 6, 2022 | https://github.com/python/cpython/pull/97990#event-7539133779 |
| https://github.com/brettcannon |
| brettcannon | https://github.com/brettcannon |
| October 6, 2022 22:40 | https://github.com/python/cpython/pull/97990#event-7539133833 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Oct 6, 2022 | https://github.com/python/cpython/pull/97990#event-7539134084 |
| carljm | https://github.com/carljm |
|
Oct 6, 2022
| https://github.com/python/cpython/pull/97990#ref-commit-e5d2169 |
|
| https://github.com/carljm |
| Merge branch 'main' into dictwatch | https://github.com/carljm/cpython/commit/e5d21693de54c37116e644af52fa5fa638b0c583 |
| e5d2169 | https://github.com/carljm/cpython/commit/e5d21693de54c37116e644af52fa5fa638b0c583 |
| pythongh-96078 | https://github.com/python/cpython/issues/96078 |
| pythongh-97965 | https://github.com/python/cpython/pull/97965 |
| pythongh-65961 | https://github.com/python/cpython/issues/65961 |
| pythonGH-97990 | https://github.com/python/cpython/pull/97990 |
| pythongh-97850 | https://github.com/python/cpython/issues/97850 |
| python#97935 | https://github.com/python/cpython/pull/97935 |
| pythonGH-97992 | https://github.com/python/cpython/pull/97992 |
| pythongh-94590 | https://github.com/python/cpython/issues/94590 |
| python#94591 | https://github.com/python/cpython/pull/94591 |
| python#97974 | https://github.com/python/cpython/pull/97974 |
| pythongh-97781 | https://github.com/python/cpython/issues/97781 |
| pythonGH-97785 | https://github.com/python/cpython/pull/97785 |
| pythongh-86482 | https://github.com/python/cpython/issues/86482 |
| python#23291 | https://github.com/python/cpython/pull/23291 |
| pythongh-97943 | https://github.com/python/cpython/issues/97943 |
| python#97949 | https://github.com/python/cpython/pull/97949 |
| pythongh-94808 | https://github.com/python/cpython/issues/94808 |
| python#95926 | https://github.com/python/cpython/pull/95926 |
| carljm | https://github.com/carljm |
|
Oct 8, 2022
| https://github.com/python/cpython/pull/97990#ref-commit-415ed49 |
|
| https://github.com/carljm |
| Merge branch 'main' into typewatch | https://github.com/carljm/cpython/commit/415ed492de0dc27707962eb1756cf183dadd0885 |
| 415ed49 | https://github.com/carljm/cpython/commit/415ed492de0dc27707962eb1756cf183dadd0885 |
| pythonGH-97002 | https://github.com/python/cpython/issues/97002 |
| pythonGH-97996 | https://github.com/python/cpython/pull/97996 |
| pythongh-97973 | https://github.com/python/cpython/issues/97973 |
| pythonGH-97984 | https://github.com/python/cpython/pull/97984 |
| pythongh-96078 | https://github.com/python/cpython/issues/96078 |
| pythongh-97965 | https://github.com/python/cpython/pull/97965 |
| pythongh-65961 | https://github.com/python/cpython/issues/65961 |
| pythonGH-97990 | https://github.com/python/cpython/pull/97990 |
| pythongh-97850 | https://github.com/python/cpython/issues/97850 |
| python#97935 | https://github.com/python/cpython/pull/97935 |
| pythonGH-97992 | https://github.com/python/cpython/pull/97992 |
| pythongh-94590 | https://github.com/python/cpython/issues/94590 |
| python#94591 | https://github.com/python/cpython/pull/94591 |
| python#97974 | https://github.com/python/cpython/pull/97974 |
| pythongh-97781 | https://github.com/python/cpython/issues/97781 |
| pythonGH-97785 | https://github.com/python/cpython/pull/97785 |
| pythongh-86482 | https://github.com/python/cpython/issues/86482 |
| python#23291 | https://github.com/python/cpython/pull/23291 |
| pythongh-97943 | https://github.com/python/cpython/issues/97943 |
| python#97949 | https://github.com/python/cpython/pull/97949 |
| mpage | https://github.com/mpage |
|
Oct 11, 2022
| https://github.com/python/cpython/pull/97990#ref-commit-7064cd5 |
|
| https://github.com/brettcannon |
|
| https://github.com/mpage |
| pythongh-65961 | https://github.com/python/cpython/issues/65961 |
| : Do not rely solely on | https://github.com/mpage/cpython/commit/7064cd5057d1f6fee44c1e2553066a7aaa3c99da |
| __cached__ | https://github.com/mpage/cpython/commit/7064cd5057d1f6fee44c1e2553066a7aaa3c99da |
| ( | https://github.com/mpage/cpython/commit/7064cd5057d1f6fee44c1e2553066a7aaa3c99da |
| pythonGH-97990 | https://github.com/python/cpython/pull/97990 |
| ) | https://github.com/mpage/cpython/commit/7064cd5057d1f6fee44c1e2553066a7aaa3c99da |
| 7064cd5 | https://github.com/mpage/cpython/commit/7064cd5057d1f6fee44c1e2553066a7aaa3c99da |
| 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%2F97990 |
|
| https://github.com/warsaw |
|
warsaw
| https://github.com/warsaw |
|
| https://github.com/python/cpython/pull/97990/files/5fd8b61abafa7876ccd1147cfa50d4fe0cec1dbc |
| Please reload this page | https://github.com/python/cpython/pull/97990 |
|
| https://github.com/brettcannon |
|
| https://github.com/warsaw |
|
| https://github.com/bedevere-bot |
|
| 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 |