René's URL Explorer Experiment


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

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

X Title: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). by ericsnowcurrently · Pull Request #11617 · 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 b...

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 b...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:7317353f-21ac-c7d1-a2c8-89973cae10da
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA12C:8E3D:2A81AC:3749C2:6A525AB9
html-safe-nonce97535f9c9dd913a31034f31d64465f340cbba34fce81a9f00b1a238a7ee7384a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTJDOjhFM0Q6MkE4MUFDOjM3NDlDMjo2QTUyNUFCOSIsInZpc2l0b3JfaWQiOiIyOTE1NTM4Mjc5MjQxMDU5MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3a33d4bd34c7247b3fa82b391068f1e8015d81de6ba9f662f075a16719482789
hovercard-subject-tagpull_request:245966853
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/11617/commits
twitter:imagehttps://opengraph.githubassets.com/2573b30d53e7e8b78c63312745a624b772be453442f27d6ea6c92540456b4772/python/cpython/pull/11617
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2573b30d53e7e8b78c63312745a624b772be453442f27d6ea6c92540456b4772/python/cpython/pull/11617
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 b...
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
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/11617/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F11617%2Fcommits
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%2F11617%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/11617/commits
Reloadhttps://github.com/python/cpython/pull/11617/commits
Reloadhttps://github.com/python/cpython/pull/11617/commits
Please reload this pagehttps://github.com/python/cpython/pull/11617/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/11617/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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-callshttps://github.com/ericsnowcurrently/cpython/tree/pending-calls
Conversationhttps://github.com/python/cpython/pull/11617
Commits15 (15)https://github.com/python/cpython/pull/11617/commits
Checkshttps://github.com/python/cpython/pull/11617/checks
Files changedhttps://github.com/python/cpython/pull/11617/files
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall().https://github.com/python/cpython/pull/11617/commits#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:masterhttps://github.com/python/cpython/tree/master
ericsnowcurrently:pending-callshttps://github.com/ericsnowcurrently/cpython/tree/pending-calls
Zero-out PyInterpreterState when initializing.https://github.com/python/cpython/pull/11617/commits/95996fb56356ec3bb3ba525bbae09f253e1f2771
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
95996fbhttps://github.com/python/cpython/pull/11617/commits/95996fb56356ec3bb3ba525bbae09f253e1f2771
https://github.com/python/cpython/tree/95996fb56356ec3bb3ba525bbae09f253e1f2771
Add _PyRuntimeState.main_thread.https://github.com/python/cpython/pull/11617/commits/e33324ffb060438be54497ee68f75098fddc5f0d
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
e33324fhttps://github.com/python/cpython/pull/11617/commits/e33324ffb060438be54497ee68f75098fddc5f0d
https://github.com/python/cpython/tree/e33324ffb060438be54497ee68f75098fddc5f0d
Factor out _add_pending_call() and _pop_pending_call().https://github.com/python/cpython/pull/11617/commits/e6f788e8ab3d0b4f91983f0f71ead31f82d96fc4
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
e6f788ehttps://github.com/python/cpython/pull/11617/commits/e6f788e8ab3d0b4f91983f0f71ead31f82d96fc4
https://github.com/python/cpython/tree/e6f788e8ab3d0b4f91983f0f71ead31f82d96fc4
Move pending calls from _PyRuntimeState to PyIntepreterState.https://github.com/python/cpython/pull/11617/commits/8794b79627032fed2b90efb85b3102888e889cf6
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
8794b79https://github.com/python/cpython/pull/11617/commits/8794b79627032fed2b90efb85b3102888e889cf6
https://github.com/python/cpython/tree/8794b79627032fed2b90efb85b3102888e889cf6
Explicitly pass the interpreter to the stateful ceval macros.https://github.com/python/cpython/pull/11617/commits/0c36b4c159b67b2cb5471e49641fb92ab371e480
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
0c36b4chttps://github.com/python/cpython/pull/11617/commits/0c36b4c159b67b2cb5471e49641fb92ab371e480
https://github.com/python/cpython/tree/0c36b4c159b67b2cb5471e49641fb92ab371e480
Add a note about pending calls during interpreter cleanup.https://github.com/python/cpython/pull/11617/commits/01cb55dcfa4a4a9de59871619fb4b7ad16e655f6
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
01cb55dhttps://github.com/python/cpython/pull/11617/commits/01cb55dcfa4a4a9de59871619fb4b7ad16e655f6
https://github.com/python/cpython/tree/01cb55dcfa4a4a9de59871619fb4b7ad16e655f6
Use the internal function.https://github.com/python/cpython/pull/11617/commits/3fd1b0fef76ecd48dc3ba036518cc2f5d9442b66
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
3fd1b0fhttps://github.com/python/cpython/pull/11617/commits/3fd1b0fef76ecd48dc3ba036518cc2f5d9442b66
https://github.com/python/cpython/tree/3fd1b0fef76ecd48dc3ba036518cc2f5d9442b66
Make any remaining pending calls before shutdown.https://github.com/python/cpython/pull/11617/commits/1160c4de54e833b0df7a30f1155476f73f6e5b6e
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
1160c4dhttps://github.com/python/cpython/pull/11617/commits/1160c4de54e833b0df7a30f1155476f73f6e5b6e
https://github.com/python/cpython/tree/1160c4de54e833b0df7a30f1155476f73f6e5b6e
Prevent adding pending calls if finalizing.https://github.com/python/cpython/pull/11617/commits/54cc32622b431369126739c8126801d6e38ba5c0
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
54cc326https://github.com/python/cpython/pull/11617/commits/54cc32622b431369126739c8126801d6e38ba5c0
https://github.com/python/cpython/tree/54cc32622b431369126739c8126801d6e38ba5c0
Add a NEWS entry.https://github.com/python/cpython/pull/11617/commits/117a9cfb7e7bf15b9f0c1e0bbc3fe80a550491b6
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
117a9cfhttps://github.com/python/cpython/pull/11617/commits/117a9cfb7e7bf15b9f0c1e0bbc3fe80a550491b6
https://github.com/python/cpython/tree/117a9cfb7e7bf15b9f0c1e0bbc3fe80a550491b6
Optionally lock a pending call to a specific thread.https://github.com/python/cpython/pull/11617/commits/4f447cd161b5760cb74128630ceaace0fa6a9930
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
4f447cdhttps://github.com/python/cpython/pull/11617/commits/4f447cd161b5760cb74128630ceaace0fa6a9930
https://github.com/python/cpython/tree/4f447cd161b5760cb74128630ceaace0fa6a9930
Move core-only field to end of struct.https://github.com/python/cpython/pull/11617/commits/5bd5c803efda86b7c3700fc2a97beb0b5e5e083a
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
5bd5c80https://github.com/python/cpython/pull/11617/commits/5bd5c803efda86b7c3700fc2a97beb0b5e5e083a
https://github.com/python/cpython/tree/5bd5c803efda86b7c3700fc2a97beb0b5e5e083a
Factor out struct _ceval_interpreter_state.https://github.com/python/cpython/pull/11617/commits/32d194abb837a052bd25f6f3846993dfdd5d1478
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
32d194ahttps://github.com/python/cpython/pull/11617/commits/32d194abb837a052bd25f6f3846993dfdd5d1478
https://github.com/python/cpython/tree/32d194abb837a052bd25f6f3846993dfdd5d1478
Add a TODO.https://github.com/python/cpython/pull/11617/commits/513c65831617ff48588e6f9f3edb47c54be2b7a9
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
513c658https://github.com/python/cpython/pull/11617/commits/513c65831617ff48588e6f9f3edb47c54be2b7a9
https://github.com/python/cpython/tree/513c65831617ff48588e6f9f3edb47c54be2b7a9
Fix PyEval_ReInitThreads().https://github.com/python/cpython/pull/11617/commits/15fd1234c6a61d2a4093a043490dba967a317577
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
15fd123https://github.com/python/cpython/pull/11617/commits/15fd1234c6a61d2a4093a043490dba967a317577
https://github.com/python/cpython/tree/15fd1234c6a61d2a4093a043490dba967a317577
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.