René's URL Explorer Experiment


Title: gh-106320: Use _PyInterpreterState_GET() by vstinner · Pull Request #106336 · python/cpython · GitHub

Open Graph Title: gh-106320: Use _PyInterpreterState_GET() by vstinner · Pull Request #106336 · python/cpython

X Title: gh-106320: Use _PyInterpreterState_GET() by vstinner · Pull Request #106336 · python/cpython

Description: Replace PyInterpreterState_Get() with inlined _PyInterpreterState_GET(). Issue: C API: Remove private C API functions (move them to the internal C API) #106320

Open Graph Description: Replace PyInterpreterState_Get() with inlined _PyInterpreterState_GET(). Issue: C API: Remove private C API functions (move them to the internal C API) #106320

X Description: Replace PyInterpreterState_Get() with inlined _PyInterpreterState_GET(). Issue: C API: Remove private C API functions (move them to the internal C API) #106320

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

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:d228d8c4-9136-8db4-033d-7675f82620b4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id946C:32EF48:583173:77A717:6969DAB1
html-safe-noncef1bab623321eed154336f94dfe571edcf72bef16eafcc28cc6b281b6d3825c2d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDZDOjMyRUY0ODo1ODMxNzM6NzdBNzE3OjY5NjlEQUIxIiwidmlzaXRvcl9pZCI6IjQ0NTk1MDYwNjg5NDkxNjI2NzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7ff80595481dc4383be13c07e1f7cbced99df6a24db52c897a5fac5692c4738d
hovercard-subject-tagpull_request:1416792137
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/106336/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f5dfe3426642b0bfd4434bd09120f17377116bdf94a923c38e4084c3e5a71f5d/python/cpython/pull/106336
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f5dfe3426642b0bfd4434bd09120f17377116bdf94a923c38e4084c3e5a71f5d/python/cpython/pull/106336
og:image:altReplace PyInterpreterState_Get() with inlined _PyInterpreterState_GET(). Issue: C API: Remove private C API functions (move them to the internal C API) #106320
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/106336#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F106336
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%2F106336
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/106336
Reloadhttps://github.com/python/cpython/pull/106336
Reloadhttps://github.com/python/cpython/pull/106336
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/106336
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/106336
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/106336#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:inline_interp_gethttps://github.com/vstinner/cpython/tree/inline_interp_get
gh-106320: Use _PyInterpreterState_GET() https://github.com/python/cpython/pull/106336#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:inline_interp_gethttps://github.com/vstinner/cpython/tree/inline_interp_get
Conversation 2 https://github.com/python/cpython/pull/106336
Commits 1 https://github.com/python/cpython/pull/106336/commits
Checks 0 https://github.com/python/cpython/pull/106336/checks
Files changed https://github.com/python/cpython/pull/106336/files
Please reload this pagehttps://github.com/python/cpython/pull/106336
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jul 2, 2023https://github.com/python/cpython/pull/106336#issue-1784707033
Please reload this pagehttps://github.com/python/cpython/pull/106336
C API: Remove private C API functions (move them to the internal C API) #106320https://github.com/python/cpython/issues/106320
Please reload this pagehttps://github.com/python/cpython/pull/106336
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 2, 2023https://github.com/python/cpython/pull/106336#event-9700526801
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
1st1https://github.com/1st1
AlexWaygoodhttps://github.com/AlexWaygood
Fidget-Spinnerhttps://github.com/Fidget-Spinner
JelleZijlstrahttps://github.com/JelleZijlstra
asvetlovhttps://github.com/asvetlov
gpsheadhttps://github.com/gpshead
gvanrossumhttps://github.com/gvanrossum
kumaraditya303https://github.com/kumaraditya303
markshannonhttps://github.com/markshannon
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/20b7c79b9d67a761aaf818d3b92498ea0b0d80d9/.github/CODEOWNERS#L17
July 2, 2023 16:11https://github.com/python/cpython/pull/106336#event-9700526860
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 2, 2023https://github.com/python/cpython/pull/106336#event-9700527135
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jul 2, 2023 https://github.com/python/cpython/pull/106336#ref-issue-1784268682
C API: Remove private C API functions (move them to the internal C API) #106320 https://github.com/python/cpython/issues/106320
https://github.com/vstinner
pythongh-106320https://github.com/python/cpython/issues/106320
: Use _PyInterpreterState_GET()https://github.com/python/cpython/pull/106336/commits/606da6d9c03d829be6fbbebf7fea388bd430a95f
606da6dhttps://github.com/python/cpython/pull/106336/commits/606da6d9c03d829be6fbbebf7fea388bd430a95f
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
force-pushedhttps://github.com/python/cpython/compare/85ea2817b1c64eb7b07bd5cc6584efa5f6112c67..606da6d9c03d829be6fbbebf7fea388bd430a95f
85ea281https://github.com/python/cpython/commit/85ea2817b1c64eb7b07bd5cc6584efa5f6112c67
606da6dhttps://github.com/python/cpython/commit/606da6d9c03d829be6fbbebf7fea388bd430a95f
Compare https://github.com/python/cpython/compare/85ea2817b1c64eb7b07bd5cc6584efa5f6112c67..606da6d9c03d829be6fbbebf7fea388bd430a95f
July 2, 2023 16:12https://github.com/python/cpython/pull/106336#event-9700531922
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
July 2, 2023 16:14https://github.com/python/cpython/pull/106336#event-9700539217
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Jul 2, 2023 https://github.com/python/cpython/pull/106336#pullrequestreview-1509629756
View reviewed changes https://github.com/python/cpython/pull/106336/files/606da6d9c03d829be6fbbebf7fea388bd430a95f
https://github.com/bedevere-bot
bedevere-bothttps://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
Jul 2, 2023https://github.com/python/cpython/pull/106336#event-9700592738
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 2, 2023 https://github.com/python/cpython/pull/106336#pullrequestreview-1509630804
View reviewed changes https://github.com/python/cpython/pull/106336/files/606da6d9c03d829be6fbbebf7fea388bd430a95f
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/cpython/pull/106336#pullrequestreview-1509630804
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/106336
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
bc7eb17https://github.com/python/cpython/commit/bc7eb1708452da59c22782c487ae7f05f1788970
Jul 2, 2023https://github.com/python/cpython/pull/106336#event-9700610108
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
JelleZijlstrahttps://github.com/JelleZijlstra
AlexWaygoodhttps://github.com/AlexWaygood
July 2, 2023 16:37https://github.com/python/cpython/pull/106336#event-9700610231
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jul 2, 2023https://github.com/python/cpython/pull/106336#event-9700610238
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
July 2, 2023 21:52https://github.com/python/cpython/pull/106336#event-9701325497
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jul 2, 2023https://github.com/python/cpython/pull/106336#issuecomment-1616845391
Please reload this pagehttps://github.com/python/cpython/pull/106336
carljmhttps://github.com/carljm
Jul 3, 2023 https://github.com/python/cpython/pull/106336#ref-commit-ac11740
https://github.com/carljm
Merge branch 'main' into modulelocalshttps://github.com/carljm/cpython/commit/ac1174079de1754df39eb7bba43ae4d6c1786c00
ac11740https://github.com/carljm/cpython/commit/ac1174079de1754df39eb7bba43ae4d6c1786c00
pythongh-91053https://github.com/python/cpython/issues/91053
python#106286https://github.com/python/cpython/pull/106286
pythongh-104050https://github.com/python/cpython/issues/104050
python#106354https://github.com/python/cpython/pull/106354
pythongh-106359https://github.com/python/cpython/issues/106359
python#106361https://github.com/python/cpython/pull/106361
pythongh-104146https://github.com/python/cpython/issues/104146
python#106358https://github.com/python/cpython/pull/106358
pythongh-106320https://github.com/python/cpython/issues/106320
python#106356https://github.com/python/cpython/pull/106356
pythongh-104050https://github.com/python/cpython/issues/104050
python#106357https://github.com/python/cpython/pull/106357
pythongh-106320https://github.com/python/cpython/issues/106320
python#106355https://github.com/python/cpython/pull/106355
pythongh-106320https://github.com/python/cpython/issues/106320
python#106342https://github.com/python/cpython/pull/106342
pythongh-61215https://github.com/python/cpython/issues/61215
python#16094https://github.com/python/cpython/pull/16094
python#106122https://github.com/python/cpython/pull/106122
python#106119https://github.com/python/cpython/pull/106119
pythongh-104050https://github.com/python/cpython/issues/104050
python#106343https://github.com/python/cpython/pull/106343
pythongh-106320https://github.com/python/cpython/issues/106320
python#106341https://github.com/python/cpython/pull/106341
pythongh-106320https://github.com/python/cpython/issues/106320
python#106339https://github.com/python/cpython/pull/106339
pythongh-106078https://github.com/python/cpython/issues/106078
python#106301https://github.com/python/cpython/pull/106301
pythongh-106320https://github.com/python/cpython/issues/106320
python#106336https://github.com/python/cpython/pull/106336
pythongh-106320https://github.com/python/cpython/issues/106320
python#106335https://github.com/python/cpython/pull/106335
pythongh-104922https://github.com/python/cpython/issues/104922
python#106314https://github.com/python/cpython/pull/106314
pythongh-106217https://github.com/python/cpython/issues/106217
python#106329https://github.com/python/cpython/pull/106329
pythongh-104922https://github.com/python/cpython/issues/104922
python#106315https://github.com/python/cpython/pull/106315
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%2F106336
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/106336/files/606da6d9c03d829be6fbbebf7fea388bd430a95f
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/markshannon
markshannon https://github.com/markshannon
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/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/106336
https://github.com/vstinner
https://github.com/gpshead
https://github.com/JelleZijlstra
https://github.com/bedevere-bot
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.