René's URL Explorer Experiment


Title: [WIP] bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). by ericsnowcurrently · Pull Request #9334 · python/cpython · GitHub

Open Graph Title: [WIP] bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). by ericsnowcurrently · Pull Request #9334 · python/cpython

X Title: [WIP] bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). by ericsnowcurrently · Pull Request #9334 · python/cpython

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

Open Graph Description: This is part of the work to improve isolation between subinterpreters. We need a way for one interpreter to ask another interpreter to do small low-level tasks, like safely decref an object owned ...

X Description: This is part of the work to improve isolation between subinterpreters. We need a way for one interpreter to ask another interpreter to do small low-level tasks, like safely decref an object owned ...

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

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:ea6545db-f076-1557-456b-d0467e94e37d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC726:1CAF22:6D6895:91EACB:6A5300B5
html-safe-noncec75f6bf3f85365b4771c050953d2edd9c3a2ee284f57f5f125068530585aa7c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzI2OjFDQUYyMjo2RDY4OTU6OTFFQUNCOjZBNTMwMEI1IiwidmlzaXRvcl9pZCI6Ijc0NzExODY4MjUzOTYyODk3MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccac2ff8aa08aa7984c1ea6a5a44635e7cb51a5c50cb3f937babc43be2dec1aaa
hovercard-subject-tagpull_request:215782606
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/9334/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/9f91e23c45ceed1977acb367561960b3c7980ff15ab8eaa76cac8a0c6471ae88/python/cpython/pull/9334
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9f91e23c45ceed1977acb367561960b3c7980ff15ab8eaa76cac8a0c6471ae88/python/cpython/pull/9334
og:image:altThis is part of the work to improve isolation between subinterpreters. We need a way for one interpreter to ask another interpreter to do small low-level tasks, like safely decref an object owned ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/9334#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9334
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F9334
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/9334
Reloadhttps://github.com/python/cpython/pull/9334
Reloadhttps://github.com/python/cpython/pull/9334
Please reload this pagehttps://github.com/python/cpython/pull/9334
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/9334
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:masterhttps://github.com/python/cpython/tree/master
ericsnowcurrently:pending-calls-freshhttps://github.com/ericsnowcurrently/cpython/tree/pending-calls-fresh
Conversationhttps://github.com/python/cpython/pull/9334
Commits18 (18)https://github.com/python/cpython/pull/9334/commits
Checkshttps://github.com/python/cpython/pull/9334/checks
Files changedhttps://github.com/python/cpython/pull/9334/files
[WIP] bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall().https://github.com/python/cpython/pull/9334#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:masterhttps://github.com/python/cpython/tree/master
ericsnowcurrently:pending-calls-freshhttps://github.com/ericsnowcurrently/cpython/tree/pending-calls-fresh
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Sep 15, 2018https://github.com/python/cpython/pull/9334#issue-360563787
Please reload this pagehttps://github.com/python/cpython/pull/9334
https://bugs.python.org/issue33608https://bugs.python.org/issue33608
Please reload this pagehttps://github.com/python/cpython/pull/9334
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
September 14, 2018 14:20https://github.com/python/cpython/pull/9334#commits-pushed-3b8cb64
https://github.com/ericsnowcurrently
Zero-out PyInterpreterState when initializing.https://github.com/python/cpython/pull/9334/commits/3b8cb643e1e304275c3e67407862801c674e1926
3b8cb64https://github.com/python/cpython/pull/9334/commits/3b8cb643e1e304275c3e67407862801c674e1926
https://github.com/ericsnowcurrently
Move pending calls from _PyRuntimeState to PyIntepreterState.https://github.com/python/cpython/pull/9334/commits/26e09660c10b223398442274b752f9223cd26cd3
26e0966https://github.com/python/cpython/pull/9334/commits/26e09660c10b223398442274b752f9223cd26cd3
https://github.com/ericsnowcurrently
Explicitly pass the interpreter to the stateful ceval macros.https://github.com/python/cpython/pull/9334/commits/9ebc65b7815802e2476a8ed22ad4b5c67df6a6b5
9ebc65bhttps://github.com/python/cpython/pull/9334/commits/9ebc65b7815802e2476a8ed22ad4b5c67df6a6b5
https://github.com/ericsnowcurrently
Add a note about pending calls during interpreter cleanup.https://github.com/python/cpython/pull/9334/commits/c8ec310f299cc3973005a6e4f58ce2cf444c50b5
c8ec310https://github.com/python/cpython/pull/9334/commits/c8ec310f299cc3973005a6e4f58ce2cf444c50b5
https://github.com/ericsnowcurrently
main -> activehttps://github.com/python/cpython/pull/9334/commits/43669601a31b7dae9f2d8bbd319eec9310beb678
4366960https://github.com/python/cpython/pull/9334/commits/43669601a31b7dae9f2d8bbd319eec9310beb678
https://github.com/ericsnowcurrently
Move "active_thread" up to PyInterpreterState.ceval.https://github.com/python/cpython/pull/9334/commits/10a46ce02e9209ba54327b15ff8dd16c86cfc5da
10a46cehttps://github.com/python/cpython/pull/9334/commits/10a46ce02e9209ba54327b15ff8dd16c86cfc5da
https://github.com/ericsnowcurrently
Add a flag to track if an interpreter is active.https://github.com/python/cpython/pull/9334/commits/47fb2543629c6865de9c4dc2252dd743f9a7466f
47fb254https://github.com/python/cpython/pull/9334/commits/47fb2543629c6865de9c4dc2252dd743f9a7466f
https://github.com/ericsnowcurrently
Tie interpreter activity to the GIL.https://github.com/python/cpython/pull/9334/commits/08102dd731f04646b9665326f2a66300387e5753
08102ddhttps://github.com/python/cpython/pull/9334/commits/08102dd731f04646b9665326f2a66300387e5753
https://github.com/ericsnowcurrently
Do not bother if no tstate provided.https://github.com/python/cpython/pull/9334/commits/d84f5f41e1de8efe299a75156bcaa8461984a9e1
d84f5f4https://github.com/python/cpython/pull/9334/commits/d84f5f41e1de8efe299a75156bcaa8461984a9e1
https://github.com/ericsnowcurrently
Use the internal function.https://github.com/python/cpython/pull/9334/commits/5f068992d844debc638bc235b4dc9bcedc441cc0
5f06899https://github.com/python/cpython/pull/9334/commits/5f068992d844debc638bc235b4dc9bcedc441cc0
https://github.com/ericsnowcurrently
Use _Py_AddPendingCall() for releasing shared data.https://github.com/python/cpython/pull/9334/commits/93f27066be7a3b1a82994739084f0a62d78e0cde
93f2706https://github.com/python/cpython/pull/9334/commits/93f27066be7a3b1a82994739084f0a62d78e0cde
https://github.com/ericsnowcurrently
Drop an outdated TODO comment.https://github.com/python/cpython/pull/9334/commits/6db2288d65fbae2d570337a8785375ed824c106e
6db2288https://github.com/python/cpython/pull/9334/commits/6db2288d65fbae2d570337a8785375ed824c106e
https://github.com/ericsnowcurrently
Make any remaining pending calls before shutdown.https://github.com/python/cpython/pull/9334/commits/1ceba050231c1eac0f8ca7bc024829e6a2ea3da8
1ceba05https://github.com/python/cpython/pull/9334/commits/1ceba050231c1eac0f8ca7bc024829e6a2ea3da8
https://github.com/ericsnowcurrently
Forcibly mark the interpreter as active.https://github.com/python/cpython/pull/9334/commits/331728d47ab5a9edf2832535235a16b3731f4d0c
331728dhttps://github.com/python/cpython/pull/9334/commits/331728d47ab5a9edf2832535235a16b3731f4d0c
https://github.com/ericsnowcurrently
Prevent adding pending calls if finalizing.https://github.com/python/cpython/pull/9334/commits/3faea72e1e1d3dc9b575905d07613228f871ec06
3faea72https://github.com/python/cpython/pull/9334/commits/3faea72e1e1d3dc9b575905d07613228f871ec06
https://github.com/ericsnowcurrently
Add a NEWS entry.https://github.com/python/cpython/pull/9334/commits/9d7c14fe699188cdf9d69de2d5f7118de043c4c2
9d7c14fhttps://github.com/python/cpython/pull/9334/commits/9d7c14fe699188cdf9d69de2d5f7118de043c4c2
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Sep 15, 2018https://github.com/python/cpython/pull/9334#event-1847675940
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
Sep 15, 2018https://github.com/python/cpython/pull/9334#event-1847675946
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
September 15, 2018 12:48https://github.com/python/cpython/pull/9334#commits-pushed-dd5f656
https://github.com/ericsnowcurrently
Add _PyRuntimeState.main_thread.https://github.com/python/cpython/pull/9334/commits/dd5f656f1442f740079a8d2853d8514a691ff0d1
dd5f656https://github.com/python/cpython/pull/9334/commits/dd5f656f1442f740079a8d2853d8514a691ff0d1
https://github.com/ericsnowcurrently
Optionally lock a pending call to a specific thread.https://github.com/python/cpython/pull/9334/commits/178e2b8d397176edb728b2460d3a4d796210e7ef
178e2b8https://github.com/python/cpython/pull/9334/commits/178e2b8d397176edb728b2460d3a4d796210e7ef
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Sep 15, 2018https://github.com/python/cpython/pull/9334#event-1847707958
https://github.com/willingc
willingchttps://github.com/willingc
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Oct 16, 2018https://github.com/python/cpython/pull/9334#event-1905807468
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Dec 11, 2018 https://github.com/python/cpython/pull/9334#ref-issue-353923616
per-interpreter: pending calls (from ceval state) ericsnowcurrently/multi-core-python#24 https://github.com/ericsnowcurrently/multi-core-python/issues/24
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jan 18, 2019https://github.com/python/cpython/pull/9334#issuecomment-455681491
gh-11617https://github.com/python/cpython/pull/11617
Please reload this pagehttps://github.com/python/cpython/pull/9334
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jan 18, 2019https://github.com/python/cpython/pull/9334#event-2083894734
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%2F9334
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
DO-NOT-MERGE https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE
Please reload this pagehttps://github.com/python/cpython/pull/9334
https://github.com/ericsnowcurrently
https://github.com/willingc
https://github.com/the-knights-who-say-ni
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.