René's URL Explorer Experiment


Title: bpo-32436: Implement PEP 567 by 1st1 · Pull Request #5027 · python/cpython · GitHub

Open Graph Title: bpo-32436: Implement PEP 567 by 1st1 · Pull Request #5027 · python/cpython

X Title: bpo-32436: Implement PEP 567 by 1st1 · Pull Request #5027 · python/cpython

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

Open Graph Description: The PR implements PEP 567. It consists of a few major blocks: New public APIs. Files of interest: Includes/context.h: the public C API; Includes/internal/context.h: structs layout; Python/conte...

X Description: The PR implements PEP 567. It consists of a few major blocks: New public APIs. Files of interest: Includes/context.h: the public C API; Includes/internal/context.h: structs layout; Python/conte...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:fed859e7-36b8-d59f-fe7f-b63e5d7dff54
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8EB2:1C38BA:C68C97:107B195:6A519032
html-safe-nonced63226f1718075ecb5af59a075fa4fc8cac8ce1b717f2aba65450e9c539e1bb9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUIyOjFDMzhCQTpDNjhDOTc6MTA3QjE5NTo2QTUxOTAzMiIsInZpc2l0b3JfaWQiOiIzOTI2NjAwNzQzMjE4NDE3NzE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac14f01907389d6c4609493a5f89130f8ec296650beb84096cfb6340ffb3aa6682
hovercard-subject-tagpull_request:160335813
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/5027/commits
twitter:imagehttps://opengraph.githubassets.com/0d840ccc6ebc55fd5f3a6a6e3dc24b31a6afbaebcd710d39bf4f1ae040464efd/python/cpython/pull/5027
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0d840ccc6ebc55fd5f3a6a6e3dc24b31a6afbaebcd710d39bf4f1ae040464efd/python/cpython/pull/5027
og:image:altThe PR implements PEP 567. It consists of a few major blocks: New public APIs. Files of interest: Includes/context.h: the public C API; Includes/internal/context.h: structs layout; Python/conte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:username1st1
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/5027/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F5027%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%2F5027%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/5027/commits
Reloadhttps://github.com/python/cpython/pull/5027/commits
Reloadhttps://github.com/python/cpython/pull/5027/commits
Please reload this pagehttps://github.com/python/cpython/pull/5027/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/5027/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
1st1https://github.com/1st1
python:masterhttps://github.com/python/cpython/tree/master
1st1:pep567https://github.com/1st1/cpython/tree/pep567
Conversationhttps://github.com/python/cpython/pull/5027
Commits24 (24)https://github.com/python/cpython/pull/5027/commits
Checkshttps://github.com/python/cpython/pull/5027/checks
Files changedhttps://github.com/python/cpython/pull/5027/files
bpo-32436: Implement PEP 567https://github.com/python/cpython/pull/5027/commits#top
1st1https://github.com/1st1
python:masterhttps://github.com/python/cpython/tree/master
1st1:pep567https://github.com/1st1/cpython/tree/pep567
bpo-32436: Implement PEP 567https://github.com/python/cpython/pull/5027/commits/8192f9ac25305cf5ec7e1a756b750781271527a3
8192f9ahttps://github.com/python/cpython/pull/5027/commits/8192f9ac25305cf5ec7e1a756b750781271527a3
https://github.com/python/cpython/tree/8192f9ac25305cf5ec7e1a756b750781271527a3
Add Token.MISSING, token.old_val; token.varhttps://github.com/python/cpython/pull/5027/commits/8d0d64c86d5d10b3665b6c7edeff38927691a92e
8d0d64chttps://github.com/python/cpython/pull/5027/commits/8d0d64c86d5d10b3665b6c7edeff38927691a92e
https://github.com/python/cpython/tree/8d0d64c86d5d10b3665b6c7edeff38927691a92e
Make PyContextVar_Get return a new refhttps://github.com/python/cpython/pull/5027/commits/d846b412bc5061cba10a612e6f8c9128e3e707c1
d846b41https://github.com/python/cpython/pull/5027/commits/d846b412bc5061cba10a612e6f8c9128e3e707c1
https://github.com/python/cpython/tree/d846b412bc5061cba10a612e6f8c9128e3e707c1
Explain HAMThttps://github.com/python/cpython/pull/5027/commits/339c283c0fc843d500f505df00ccd3118193b935
339c283https://github.com/python/cpython/pull/5027/commits/339c283c0fc843d500f505df00ccd3118193b935
https://github.com/python/cpython/tree/339c283c0fc843d500f505df00ccd3118193b935
Mention how to debug HAMThttps://github.com/python/cpython/pull/5027/commits/243175feb500ca49d01360897fd2d6f9e52a3d21
243175fhttps://github.com/python/cpython/pull/5027/commits/243175feb500ca49d01360897fd2d6f9e52a3d21
https://github.com/python/cpython/tree/243175feb500ca49d01360897fd2d6f9e52a3d21
Address review feedbackhttps://github.com/python/cpython/pull/5027/commits/63c38fe30f36ec6e7e19dfd83c9d302d111440e4
63c38fehttps://github.com/python/cpython/pull/5027/commits/63c38fe30f36ec6e7e19dfd83c9d302d111440e4
https://github.com/python/cpython/tree/63c38fe30f36ec6e7e19dfd83c9d302d111440e4
ThreadState now refs to a Context object (fixes Context.run/__getitem__)https://github.com/python/cpython/pull/5027/commits/c4750a7c996270f95d3e6c3f1f76b10f34c88fab
c4750a7https://github.com/python/cpython/pull/5027/commits/c4750a7c996270f95d3e6c3f1f76b10f34c88fab
https://github.com/python/cpython/tree/c4750a7c996270f95d3e6c3f1f76b10f34c88fab
Document hamt_t enum typeshttps://github.com/python/cpython/pull/5027/commits/b1c97f09b3844aece7159a180835ab5d3541df7d
b1c97f0https://github.com/python/cpython/pull/5027/commits/b1c97f09b3844aece7159a180835ab5d3541df7d
https://github.com/python/cpython/tree/b1c97f09b3844aece7159a180835ab5d3541df7d
Add a testhttps://github.com/python/cpython/pull/5027/commits/4f10c5e0ba6e890f193c56fd3e607fa3cc646923
4f10c5ehttps://github.com/python/cpython/pull/5027/commits/4f10c5e0ba6e890f193c56fd3e607fa3cc646923
https://github.com/python/cpython/tree/4f10c5e0ba6e890f193c56fd3e607fa3cc646923
Add Context.copy() methodhttps://github.com/python/cpython/pull/5027/commits/47d5a991a29de9ab5c363e4af5f3b7138dec02bf
47d5a99https://github.com/python/cpython/pull/5027/commits/47d5a991a29de9ab5c363e4af5f3b7138dec02bf
https://github.com/python/cpython/tree/47d5a991a29de9ab5c363e4af5f3b7138dec02bf
Harden PyContext_Exit to check that the current context matcheshttps://github.com/python/cpython/pull/5027/commits/7549c6af4f33f48e5ecd4802831bc8318be8db06
7549c6ahttps://github.com/python/cpython/pull/5027/commits/7549c6af4f33f48e5ecd4802831bc8318be8db06
https://github.com/python/cpython/tree/7549c6af4f33f48e5ecd4802831bc8318be8db06
Simplify context_new() logichttps://github.com/python/cpython/pull/5027/commits/db384f31b751eb381916013b4af84b235b6bff61
db384f3https://github.com/python/cpython/pull/5027/commits/db384f31b751eb381916013b4af84b235b6bff61
https://github.com/python/cpython/tree/db384f31b751eb381916013b4af84b235b6bff61
Token.reset() checks the context too nowhttps://github.com/python/cpython/pull/5027/commits/e299b4c3e224e0c687e2f4cfc56e0cff62811e95
e299b4chttps://github.com/python/cpython/pull/5027/commits/e299b4c3e224e0c687e2f4cfc56e0cff62811e95
https://github.com/python/cpython/tree/e299b4c3e224e0c687e2f4cfc56e0cff62811e95
Token.old_val -> Token.old_valuehttps://github.com/python/cpython/pull/5027/commits/dad065178b354ba2c5d6245e8a4e210246d3d8e6
dad0651https://github.com/python/cpython/pull/5027/commits/dad065178b354ba2c5d6245e8a4e210246d3d8e6
https://github.com/python/cpython/tree/dad065178b354ba2c5d6245e8a4e210246d3d8e6
Test that subclassing is prohibitedhttps://github.com/python/cpython/pull/5027/commits/78b036177ae91baace64dd3108ef818715b53540
78b0361https://github.com/python/cpython/pull/5027/commits/78b036177ae91baace64dd3108ef818715b53540
https://github.com/python/cpython/tree/78b036177ae91baace64dd3108ef818715b53540
Make ContextVar.reset raise an error for already used tokenshttps://github.com/python/cpython/pull/5027/commits/3673bd960900bde38d045dda09fd188b12fc6acd
3673bd9https://github.com/python/cpython/pull/5027/commits/3673bd960900bde38d045dda09fd188b12fc6acd
https://github.com/python/cpython/tree/3673bd960900bde38d045dda09fd188b12fc6acd
Drop unused filehttps://github.com/python/cpython/pull/5027/commits/92238839a08f9f31554eaf3547bd539222acdd0c
9223883https://github.com/python/cpython/pull/5027/commits/92238839a08f9f31554eaf3547bd539222acdd0c
https://github.com/python/cpython/tree/92238839a08f9f31554eaf3547bd539222acdd0c
Reword a commenthttps://github.com/python/cpython/pull/5027/commits/8c825817dbca60ab7c8ed8e36124b25d59df92c2
8c82581https://github.com/python/cpython/pull/5027/commits/8c825817dbca60ab7c8ed8e36124b25d59df92c2
https://github.com/python/cpython/tree/8c825817dbca60ab7c8ed8e36124b25d59df92c2
Address Inada-sun commentshttps://github.com/python/cpython/pull/5027/commits/17fa9c0f3e49c55ee973aea383299e4092a5b8f0
17fa9c0https://github.com/python/cpython/pull/5027/commits/17fa9c0f3e49c55ee973aea383299e4092a5b8f0
https://github.com/python/cpython/tree/17fa9c0f3e49c55ee973aea383299e4092a5b8f0
Cache empty HAMT nodehttps://github.com/python/cpython/pull/5027/commits/52dc25ba70ddf194e5e05ac4f98aca0f5a2a8fd2
52dc25bhttps://github.com/python/cpython/pull/5027/commits/52dc25ba70ddf194e5e05ac4f98aca0f5a2a8fd2
https://github.com/python/cpython/tree/52dc25ba70ddf194e5e05ac4f98aca0f5a2a8fd2
Don't GC-track ContextVars if name/default are not trackedhttps://github.com/python/cpython/pull/5027/commits/81ae871735bd22c0eb95cceb812b165067e14846
81ae871https://github.com/python/cpython/pull/5027/commits/81ae871735bd22c0eb95cceb812b165067e14846
https://github.com/python/cpython/tree/81ae871735bd22c0eb95cceb812b165067e14846
Handle an error if rehashing failshttps://github.com/python/cpython/pull/5027/commits/7070ccac0effcec60137aa4fb01bd80ff09d0da5
7070ccahttps://github.com/python/cpython/pull/5027/commits/7070ccac0effcec60137aa4fb01bd80ff09d0da5
https://github.com/python/cpython/tree/7070ccac0effcec60137aa4fb01bd80ff09d0da5
PyContext_CopyCurrent() & PyContext_Copy() (sync with the PEP)https://github.com/python/cpython/pull/5027/commits/cc8873ccb772bea3fc843b795bf5b630ed7f6436
cc8873chttps://github.com/python/cpython/pull/5027/commits/cc8873ccb772bea3fc843b795bf5b630ed7f6436
https://github.com/python/cpython/tree/cc8873ccb772bea3fc843b795bf5b630ed7f6436
Fix asynciomodule.c to use new PyContext_CopyCurrenthttps://github.com/python/cpython/pull/5027/commits/e353e9514bd5219df7de6cd8dff2ca6bf13c133f
e353e95https://github.com/python/cpython/pull/5027/commits/e353e9514bd5219df7de6cd8dff2ca6bf13c133f
https://github.com/python/cpython/tree/e353e9514bd5219df7de6cd8dff2ca6bf13c133f
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.