René's URL Explorer Experiment


Title: gh-117398: datetime: Make use of C-API capsules for sub-interpreters by neonene · Pull Request #117413 · python/cpython · GitHub

Open Graph Title: gh-117398: datetime: Make use of C-API capsules for sub-interpreters by neonene · Pull Request #117413 · python/cpython

X Title: gh-117398: datetime: Make use of C-API capsules for sub-interpreters by neonene · Pull Request #117413 · python/cpython

Description: Allow sub-interpreters to access their C-API by calling PyCapsule_Import function every time. Performance could be recovered by client's local caching. The _zoneinfo extension could also improve ...

Open Graph Description: Allow sub-interpreters to access their C-API by calling PyCapsule_Import function every time. Performance could be recovered by client's local caching. The _zoneinfo extension could also impr...

X Description: Allow sub-interpreters to access their C-API by calling PyCapsule_Import function every time. Performance could be recovered by client's local caching. The _zoneinfo extension could also ...

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

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:54ca727c-cefe-8ace-d6f3-e8596527bcba
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF2A:309720:15680E6:1D8D0CC:696AA6CA
html-safe-nonce929924e2bebdf25df6bfe555d45175a5d9c91b7c1d71ff5309348c7e446d28e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjJBOjMwOTcyMDoxNTY4MEU2OjFEOEQwQ0M6Njk2QUE2Q0EiLCJ2aXNpdG9yX2lkIjoiMTExOTQ1ODYwNDQyMzQ4OTIyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb240d9afd14731842a5021e1e156979903cb2892cdc05d0219c683c63e04c753
hovercard-subject-tagpull_request:1799813911
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/117413/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8d492f9ac534ad2213a576ce4720da27bd20b002b1778186d602d2faa6c4bbde/python/cpython/pull/117413
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d492f9ac534ad2213a576ce4720da27bd20b002b1778186d602d2faa6c4bbde/python/cpython/pull/117413
og:image:altAllow sub-interpreters to access their C-API by calling PyCapsule_Import function every time. Performance could be recovered by client's local caching. The _zoneinfo extension could also impr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameneonene
hostnamegithub.com
expected-hostnamegithub.com
None3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9
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
releasedd9a979046e6382bd084e2bd873bf65f797125ff
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/117413#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F117413
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%2F117413
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/117413
Reloadhttps://github.com/python/cpython/pull/117413
Reloadhttps://github.com/python/cpython/pull/117413
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/117413
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/117413
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/117413#issue-comment-box
neonenehttps://github.com/neonene
python:mainhttps://github.com/python/cpython/tree/main
gh-117398: datetime: Make use of C-API capsules for sub-interpreters https://github.com/python/cpython/pull/117413#top
neonenehttps://github.com/neonene
python:mainhttps://github.com/python/cpython/tree/main
Conversation 5 https://github.com/python/cpython/pull/117413
Commits 16 https://github.com/python/cpython/pull/117413/commits
Checks 0 https://github.com/python/cpython/pull/117413/checks
Files changed https://github.com/python/cpython/pull/117413/files
Please reload this pagehttps://github.com/python/cpython/pull/117413
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/neonene
neonenehttps://github.com/neonene
Apr 1, 2024https://github.com/python/cpython/pull/117413#issue-2217531268
Please reload this pagehttps://github.com/python/cpython/pull/117413
#117413 (comment)https://github.com/python/cpython/pull/117413#issuecomment-2088710948
@erlend-aaslandhttps://github.com/erlend-aasland
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Isolate the _datetime extension module #117398https://github.com/python/cpython/issues/117398
Please reload this pagehttps://github.com/python/cpython/pull/117413
https://github.com/neonene
do not cache sub interp capihttps://github.com/python/cpython/pull/117413/commits/a9dee17af5721656ecbc20c173f494567cd3bf66
a9dee17https://github.com/python/cpython/pull/117413/commits/a9dee17af5721656ecbc20c173f494567cd3bf66
https://github.com/neonene
neonenehttps://github.com/neonene
abalkinhttps://github.com/abalkin
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
gvanrossumhttps://github.com/gvanrossum
markshannonhttps://github.com/markshannon
pgansslehttps://github.com/pganssle
code ownershttps://github.com/python/cpython/blob/56e99307c49adcc6df355f8070229371c97d654f/.github/CODEOWNERS#L125
April 1, 2024 05:08https://github.com/python/cpython/pull/117413#event-12306619049
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Apr 1, 2024https://github.com/python/cpython/pull/117413#event-12306619305
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Apr 1, 2024 https://github.com/python/cpython/pull/117413#ref-issue-2216747895
Isolate the _datetime extension module #117398 https://github.com/python/cpython/issues/117398
https://github.com/Eclips4
Eclips4https://github.com/Eclips4
Apr 1, 2024 https://github.com/python/cpython/pull/117413#pullrequestreview-1971004657
View reviewed changes https://github.com/python/cpython/pull/117413/files/a9dee17af5721656ecbc20c173f494567cd3bf66
Include/datetime.hhttps://github.com/python/cpython/pull/117413/files/a9dee17af5721656ecbc20c173f494567cd3bf66#diff-960a2fb1acbfba484b637864e42213a0ab18eb282a90ab53310a95fbe5da64a9
Please reload this pagehttps://github.com/python/cpython/pull/117413
https://github.com/Eclips4
Eclips4https://github.com/Eclips4
Apr 1, 2024 https://github.com/python/cpython/pull/117413#pullrequestreview-1971005631
View reviewed changes https://github.com/python/cpython/pull/117413/files/a9dee17af5721656ecbc20c173f494567cd3bf66
Include/datetime.hhttps://github.com/python/cpython/pull/117413/files/a9dee17af5721656ecbc20c173f494567cd3bf66#diff-960a2fb1acbfba484b637864e42213a0ab18eb282a90ab53310a95fbe5da64a9
Please reload this pagehttps://github.com/python/cpython/pull/117413
neonenehttps://github.com/neonene
April 1, 2024 21:07https://github.com/python/cpython/pull/117413#commits-pushed-4c9d200
https://github.com/neonene
https://github.com/Eclips4
Apply PEP 7https://github.com/python/cpython/pull/117413/commits/4c9d2001686c119a5e452b133c0f091d01514912
4c9d200https://github.com/python/cpython/pull/117413/commits/4c9d2001686c119a5e452b133c0f091d01514912
https://github.com/neonene
non-null main on subinterp testhttps://github.com/python/cpython/pull/117413/commits/836f5cf495a5f1da5326222b47bdb6c214cd61a8
836f5cfhttps://github.com/python/cpython/pull/117413/commits/836f5cf495a5f1da5326222b47bdb6c214cd61a8
https://github.com/neonene
don't touch main-ptr during testshttps://github.com/python/cpython/pull/117413/commits/34f5a6f7cbcc9d0c0c8e966909b38ec230e1bc31
34f5a6fhttps://github.com/python/cpython/pull/117413/commits/34f5a6f7cbcc9d0c0c8e966909b38ec230e1bc31
https://github.com/neonene
fix test_datetime_capi()https://github.com/python/cpython/pull/117413/commits/321ea7d289455691450c31bbd61876bdc5139055
321ea7dhttps://github.com/python/cpython/pull/117413/commits/321ea7d289455691450c31bbd61876bdc5139055
https://github.com/neonene
check if legacy module or nothttps://github.com/python/cpython/pull/117413/commits/39186c2f8c6ed80d677fdceed69c864793c7c7cf
39186c2https://github.com/python/cpython/pull/117413/commits/39186c2f8c6ed80d677fdceed69c864793c7c7cf
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Apr 1, 2024https://github.com/python/cpython/pull/117413#issuecomment-2030086260
@pgansslehttps://github.com/pganssle
Please reload this pagehttps://github.com/python/cpython/pull/117413
neonenehttps://github.com/neonene
April 2, 2024 01:24https://github.com/python/cpython/pull/117413#commits-pushed-b8e545f
https://github.com/neonene
try againhttps://github.com/python/cpython/pull/117413/commits/b8e545fd29ef6340c2b7de58f227a7a406c40731
836f5cfhttps://github.com/python/cpython/commit/836f5cf495a5f1da5326222b47bdb6c214cd61a8
b8e545fhttps://github.com/python/cpython/pull/117413/commits/b8e545fd29ef6340c2b7de58f227a7a406c40731
https://github.com/neonene
renameshttps://github.com/python/cpython/pull/117413/commits/d2de01a8299050afdee88a1c8b25f808172e116f
d2de01ahttps://github.com/python/cpython/pull/117413/commits/d2de01a8299050afdee88a1c8b25f808172e116f
https://github.com/neonene
neonenehttps://github.com/neonene
Apr 3, 2024 https://github.com/python/cpython/pull/117413#ref-pullrequest-2222362568
gh-117398: Isolate _datetime (3.13.0a6 PoC) #117498 https://github.com/python/cpython/pull/117498
neonenehttps://github.com/neonene
April 3, 2024 22:57https://github.com/python/cpython/pull/117413#commits-pushed-1f90272
https://github.com/neonene
globals-to-fix.tsvhttps://github.com/python/cpython/pull/117413/commits/1f902728f5b4643c31bece0f5025192ef025d0ee
1f90272https://github.com/python/cpython/pull/117413/commits/1f902728f5b4643c31bece0f5025192ef025d0ee
https://github.com/neonene
edit globals-to-fixhttps://github.com/python/cpython/pull/117413/commits/777fdbb361c0381cd18b077b27a31a72c9a494ac
777fdbbhttps://github.com/python/cpython/pull/117413/commits/777fdbb361c0381cd18b077b27a31a72c9a494ac
https://github.com/neonene
neonenehttps://github.com/neonene
Apr 10, 2024https://github.com/python/cpython/pull/117413#issuecomment-2048598912
#117498https://github.com/python/cpython/pull/117498
@pgansslehttps://github.com/pganssle
Please reload this pagehttps://github.com/python/cpython/pull/117413
https://github.com/neonene
neonenehttps://github.com/neonene
Apr 27, 2024 https://github.com/python/cpython/pull/117413#ref-pullrequest-2267237701
gh-117398: datetime: Access C-API via PyInterpreterState #118357 https://github.com/python/cpython/pull/118357
neonenehttps://github.com/neonene
April 28, 2024 21:56https://github.com/python/cpython/pull/117413#commits-pushed-c8c2d43
https://github.com/neonene
Merge branch 'main' into capsulehttps://github.com/python/cpython/pull/117413/commits/c8c2d43c0f4925fe5e6307ffbe254dc488810da3
c8c2d43https://github.com/python/cpython/pull/117413/commits/c8c2d43c0f4925fe5e6307ffbe254dc488810da3
https://github.com/neonene
fix gil-disabled testhttps://github.com/python/cpython/pull/117413/commits/da769ba5e8cf1da46513a6afb38c3df7b5470fa5
da769bahttps://github.com/python/cpython/pull/117413/commits/da769ba5e8cf1da46513a6afb38c3df7b5470fa5
https://github.com/neonene
use cache instead of interp statehttps://github.com/python/cpython/pull/117413/commits/fb2145cb3fa7c067658196cf4e3481a4c6ee2f9e
fb2145chttps://github.com/python/cpython/pull/117413/commits/fb2145cb3fa7c067658196cf4e3481a4c6ee2f9e
https://github.com/neonene
Merge branch 'main' into capsulehttps://github.com/python/cpython/pull/117413/commits/511bbf8787c0f778451e44ac15ec677e1a360eac
511bbf8https://github.com/python/cpython/pull/117413/commits/511bbf8787c0f778451e44ac15ec677e1a360eac
https://github.com/neonene
Update globals-to-fix.tsvhttps://github.com/python/cpython/pull/117413/commits/041b1dd2a2979de9f6c0f560329b384d463d3298
041b1ddhttps://github.com/python/cpython/pull/117413/commits/041b1dd2a2979de9f6c0f560329b384d463d3298
https://github.com/neonene
neonenehttps://github.com/neonene
May 1, 2024https://github.com/python/cpython/pull/117413#issuecomment-2088710948
#118357https://github.com/python/cpython/pull/118357
Please reload this pagehttps://github.com/python/cpython/pull/117413
https://github.com/neonene
Merge branch 'main' into capsulehttps://github.com/python/cpython/pull/117413/commits/ab5b96880f9e89c9ab53150b2cc12a02be4f0cce
ab5b968https://github.com/python/cpython/pull/117413/commits/ab5b96880f9e89c9ab53150b2cc12a02be4f0cce
https://github.com/neonene
neonenehttps://github.com/neonene
May 23, 2024https://github.com/python/cpython/pull/117413#event-12910083431
https://github.com/neonene
neonenehttps://github.com/neonene
May 23, 2024 14:02https://github.com/python/cpython/pull/117413#event-12910086027
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%2F117413
https://github.com/Eclips4
Eclips4 https://github.com/Eclips4
https://github.com/python/cpython/pull/117413/files/a9dee17af5721656ecbc20c173f494567cd3bf66
https://github.com/pganssle
pganssle https://github.com/pganssle
https://github.com/abalkin
abalkin https://github.com/abalkin
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/gvanrossum
gvanrossum https://github.com/gvanrossum
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/117413
https://github.com/neonene
https://github.com/ericsnowcurrently
https://github.com/Eclips4
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.