René's URL Explorer Experiment


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

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

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

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

Open Graph Description: This is effectively an un-revert of #11617 and #12024 (reverted in #12159). Portions of those were merged in other PRs (with lower risk) and this represents the remainder. Note that I found 3 dif...

X Description: This is effectively an un-revert of #11617 and #12024 (reverted in #12159). Portions of those were merged in other PRs (with lower risk) and this represents the remainder. Note that I found 3 dif...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:80ad9be8-0e8d-29a2-bbb5-f223b8c90c88
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE78C:3DE393:51560D7:71190A7:6A50F3D0
html-safe-nonceaa075c9d5a49ef3367485bd8a2e2de51d74ab1d2c8954a253cc41aa167de9fa3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzhDOjNERTM5Mzo1MTU2MEQ3OjcxMTkwQTc6NkE1MEYzRDAiLCJ2aXNpdG9yX2lkIjoiODIyMDk2OTAwMTgyMzA3NzkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1cddfba1b671a69de0e40605f5cbaa2c68ed057ac39c6607ec3c322b852c41ff
hovercard-subject-tagpull_request:261717445
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/12360/commits
twitter:imagehttps://opengraph.githubassets.com/65f8b167bc03eec361360821dd3f45cc25d180ef201bc33875402346afb1f182/python/cpython/pull/12360
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/65f8b167bc03eec361360821dd3f45cc25d180ef201bc33875402346afb1f182/python/cpython/pull/12360
og:image:altThis is effectively an un-revert of #11617 and #12024 (reverted in #12159). Portions of those were merged in other PRs (with lower risk) and this represents the remainder. Note that I found 3 dif...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericsnowcurrently
hostnamegithub.com
expected-hostnamegithub.com
None5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838
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
release5ec60191a48933536a90c8a19f47142fcd0d4739
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/12360/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F12360%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%2F12360%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/12360/commits
Reloadhttps://github.com/python/cpython/pull/12360/commits
Reloadhttps://github.com/python/cpython/pull/12360/commits
Please reload this pagehttps://github.com/python/cpython/pull/12360/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/12360/commits
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-unreverthttps://github.com/ericsnowcurrently/cpython/tree/pending-calls-unrevert
Conversationhttps://github.com/python/cpython/pull/12360
Commits14 (14)https://github.com/python/cpython/pull/12360/commits
Checkshttps://github.com/python/cpython/pull/12360/checks
Files changedhttps://github.com/python/cpython/pull/12360/files
bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall().https://github.com/python/cpython/pull/12360/commits#top
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
python:masterhttps://github.com/python/cpython/tree/master
ericsnowcurrently:pending-calls-unreverthttps://github.com/ericsnowcurrently/cpython/tree/pending-calls-unrevert
Move pending calls from _PyRuntimeState to PyIntepreterState.https://github.com/python/cpython/pull/12360/commits/f8e70b485855dbb709b56ea16a9686ababcefa1d
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
f8e70b4https://github.com/python/cpython/pull/12360/commits/f8e70b485855dbb709b56ea16a9686ababcefa1d
https://github.com/python/cpython/tree/f8e70b485855dbb709b56ea16a9686ababcefa1d
Release the pending calls lock *after* updating the eval breaker flag.https://github.com/python/cpython/pull/12360/commits/991e3fb840e7684a44abf0743dba84f798ca55eb
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
991e3fbhttps://github.com/python/cpython/pull/12360/commits/991e3fb840e7684a44abf0743dba84f798ca55eb
https://github.com/python/cpython/tree/991e3fb840e7684a44abf0743dba84f798ca55eb
Explicitly pass the interpreter to the stateful ceval macros.https://github.com/python/cpython/pull/12360/commits/69b620ea1c4fd19e0743c355b713d3f7c18706d2
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
69b620ehttps://github.com/python/cpython/pull/12360/commits/69b620ea1c4fd19e0743c355b713d3f7c18706d2
https://github.com/python/cpython/tree/69b620ea1c4fd19e0743c355b713d3f7c18706d2
Use the internal function.https://github.com/python/cpython/pull/12360/commits/8993d237fdf825272d6b5bd7a55078982dd26b32
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
8993d23https://github.com/python/cpython/pull/12360/commits/8993d237fdf825272d6b5bd7a55078982dd26b32
https://github.com/python/cpython/tree/8993d237fdf825272d6b5bd7a55078982dd26b32
Add a NEWS entry.https://github.com/python/cpython/pull/12360/commits/66556769c2d24a438a40913ec8856fe4539773a2
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
6655676https://github.com/python/cpython/pull/12360/commits/66556769c2d24a438a40913ec8856fe4539773a2
https://github.com/python/cpython/tree/66556769c2d24a438a40913ec8856fe4539773a2
Optionally lock a pending call to a specific thread.https://github.com/python/cpython/pull/12360/commits/d71613160298471fb1e64c19cb60e1c4953f1a5d
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
d716131https://github.com/python/cpython/pull/12360/commits/d71613160298471fb1e64c19cb60e1c4953f1a5d
https://github.com/python/cpython/tree/d71613160298471fb1e64c19cb60e1c4953f1a5d
Move core-only field to end of struct.https://github.com/python/cpython/pull/12360/commits/1cdc3b20916033111324d687e58b4e6b5f70d299
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
1cdc3b2https://github.com/python/cpython/pull/12360/commits/1cdc3b20916033111324d687e58b4e6b5f70d299
https://github.com/python/cpython/tree/1cdc3b20916033111324d687e58b4e6b5f70d299
Factor out struct _ceval_interpreter_state.https://github.com/python/cpython/pull/12360/commits/158151f9a81ea7ad646d2f67c0433b963126aa08
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
158151fhttps://github.com/python/cpython/pull/12360/commits/158151f9a81ea7ad646d2f67c0433b963126aa08
https://github.com/python/cpython/tree/158151f9a81ea7ad646d2f67c0433b963126aa08
Add a TODO.https://github.com/python/cpython/pull/12360/commits/0c83e6f92129881b039edf1862e15420dd131bde
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
0c83e6fhttps://github.com/python/cpython/pull/12360/commits/0c83e6f92129881b039edf1862e15420dd131bde
https://github.com/python/cpython/tree/0c83e6f92129881b039edf1862e15420dd131bde
Use _Py_AddPendingCall() for releasing shared data.https://github.com/python/cpython/pull/12360/commits/40ab9ab02d6f98322f514aecbe57820a53d57d36
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
40ab9abhttps://github.com/python/cpython/pull/12360/commits/40ab9ab02d6f98322f514aecbe57820a53d57d36
https://github.com/python/cpython/tree/40ab9ab02d6f98322f514aecbe57820a53d57d36
Check the result of adding the pending call (for releasing XID).https://github.com/python/cpython/pull/12360/commits/f354a86647857b155fd4df83f2a54b2196a6b694
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
f354a86https://github.com/python/cpython/pull/12360/commits/f354a86647857b155fd4df83f2a54b2196a6b694
https://github.com/python/cpython/tree/f354a86647857b155fd4df83f2a54b2196a6b694
Make a copy of data-to-be-deleted.https://github.com/python/cpython/pull/12360/commits/279ff04bf1072d422cbe5b9230ecc558c70f9ec0
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
279ff04https://github.com/python/cpython/pull/12360/commits/279ff04bf1072d422cbe5b9230ecc558c70f9ec0
https://github.com/python/cpython/tree/279ff04bf1072d422cbe5b9230ecc558c70f9ec0
Fix the pending-for-other-thread case.https://github.com/python/cpython/pull/12360/commits/e356cad82502cb0bf5b90c5802ea0ca0d31cd8f7
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
e356cadhttps://github.com/python/cpython/pull/12360/commits/e356cad82502cb0bf5b90c5802ea0ca0d31cd8f7
https://github.com/python/cpython/tree/e356cad82502cb0bf5b90c5802ea0ca0d31cd8f7
Drop out-of-date code.https://github.com/python/cpython/pull/12360/commits/48a23ef33c351a82082a35be958d868551d0297b
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/python/cpython/commits?author=ericsnowcurrently
48a23efhttps://github.com/python/cpython/pull/12360/commits/48a23ef33c351a82082a35be958d868551d0297b
https://github.com/python/cpython/tree/48a23ef33c351a82082a35be958d868551d0297b
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.