René's URL Explorer Experiment


Title: gh-110415: move datetime global state into module state by costasgambit · Pull Request #110420 · python/cpython · GitHub

Open Graph Title: gh-110415: move datetime global state into module state by costasgambit · Pull Request #110420 · python/cpython

X Title: gh-110415: move datetime global state into module state by costasgambit · Pull Request #110420 · python/cpython

Description: datetime has types and various singletons defined as static global variables. _datetime_exec() has an initialisation step that writes into those structs on module import. If the module is imported ...

Open Graph Description: datetime has types and various singletons defined as static global variables. _datetime_exec() has an initialisation step that writes into those structs on module import. If the module is imported ...

X Description: datetime has types and various singletons defined as static global variables. _datetime_exec() has an initialisation step that writes into those structs on module import. If the module is imported ...

Mail addresses
costas@mollybet.com

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

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:191accd5-165a-59ab-1cf3-c8929ab18bd3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE276:2CBE2A:811BF7:B4E629:696A2097
html-safe-nonce39092aebfa0389aae68b50da079b91515a4fd29d81683f12ea03cf2983d7fdb0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjc2OjJDQkUyQTo4MTFCRjc6QjRFNjI5OjY5NkEyMDk3IiwidmlzaXRvcl9pZCI6IjQ2NTQ5MTU4OTY4MjIzNDE3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd71c2d7476120a5b232b6e59c93c5b009c1cca19177230ce0884fe62a9ec0628
hovercard-subject-tagpull_request:1544187839
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/110420/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/213270ec81b40cbb8b1ae4192e73a6bc1810683b6459cba627d5e8909d5a7ce2/python/cpython/pull/110420
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/213270ec81b40cbb8b1ae4192e73a6bc1810683b6459cba627d5e8909d5a7ce2/python/cpython/pull/110420
og:image:altdatetime has types and various singletons defined as static global variables. _datetime_exec() has an initialisation step that writes into those structs on module import. If the module is imported ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecostasgambit
hostnamegithub.com
expected-hostnamegithub.com
None014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3
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
released515f6f09fa57a93bf90355cb894eb84ca4f458f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/110420#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F110420
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%2F110420
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/110420
Reloadhttps://github.com/python/cpython/pull/110420
Reloadhttps://github.com/python/cpython/pull/110420
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/110420
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/110420
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/110420#issue-comment-box
costasgambithttps://github.com/costasgambit
python:3.12https://github.com/python/cpython/tree/3.12
costasgambit:costas--py3.12-datetimehttps://github.com/costasgambit/cpython/tree/costas--py3.12-datetime
gh-110415: move datetime global state into module state https://github.com/python/cpython/pull/110420#top
costasgambithttps://github.com/costasgambit
python:3.12https://github.com/python/cpython/tree/3.12
costasgambit:costas--py3.12-datetimehttps://github.com/costasgambit/cpython/tree/costas--py3.12-datetime
Conversation 10 https://github.com/python/cpython/pull/110420
Commits 9 https://github.com/python/cpython/pull/110420/commits
Checks 0 https://github.com/python/cpython/pull/110420/checks
Files changed https://github.com/python/cpython/pull/110420/files
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/costasgambit
costasgambithttps://github.com/costasgambit
Oct 5, 2023https://github.com/python/cpython/pull/110420#issue-1928859595
Please reload this pagehttps://github.com/python/cpython/pull/110420
sub-interpreters: datetime segfaults if imported from two sub-interpreters #110415https://github.com/python/cpython/issues/110415
Please reload this pagehttps://github.com/python/cpython/pull/110420
costasgambithttps://github.com/costasgambit
October 3, 2023 11:41https://github.com/python/cpython/pull/110420#commits-pushed-c82d32a
https://github.com/costasgambit
fix: make datetime mostly subinterpreter friendlyhttps://github.com/python/cpython/pull/110420/commits/c82d32aacf8665ecafb9c78aa998de38b0fd0397
c82d32ahttps://github.com/python/cpython/pull/110420/commits/c82d32aacf8665ecafb9c78aa998de38b0fd0397
https://github.com/costasgambit
fix: test is wrong?https://github.com/python/cpython/pull/110420/commits/89cbd783dd8e4e25a141e8d0ea399202714515d3
89cbd78https://github.com/python/cpython/pull/110420/commits/89cbd783dd8e4e25a141e8d0ea399202714515d3
https://github.com/costasgambit
fix: port the rest of datetime to use module statehttps://github.com/python/cpython/pull/110420/commits/e1603ff2ef0bd002a0017bb4ab06f83373ac9622
e1603ffhttps://github.com/python/cpython/pull/110420/commits/e1603ff2ef0bd002a0017bb4ab06f83373ac9622
https://github.com/costasgambit
costasgambithttps://github.com/costasgambit
abalkinhttps://github.com/abalkin
pgansslehttps://github.com/pganssle
code ownershttps://github.com/python/cpython/blob/5b66fe8304feaf39754e83c21cdfea110e688434/.github/CODEOWNERS#L77
October 5, 2023 18:47https://github.com/python/cpython/pull/110420#event-10567356320
https://github.com/ghost
ghosthttps://github.com/ghost
Oct 5, 2023https://github.com/python/cpython/pull/110420#issuecomment-1749458962
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://cpython-clabot.herokuapp.com/contributor-license-agreement?state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJnaXRIdWJVc2VySWQiOjEwODcwMDgwLCJhZ3JlZW1lbnRWZXJzaW9uSWQiOm51bGwsImF1dGhvcnMiOlsiY29zdGFzQG1vbGx5YmV0LmNvbSJdLCJwdWxsUmVxdWVzdCI6eyJpZCI6MTU0NDE4NzgzOSwibnVtYmVyIjoxMTA0MjAsInVybCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9weXRob24vY3B5dGhvbi9wdWxsLzExMDQyMCIsImhlYWRTaGEiOiIzZjlmZDFlYjAwYzRiMjEyZDZhNjdiZThmZmNmODQyMTQwMGQxMzFiIn0sInJlcG9zaXRvcnkiOnsiaWQiOjgxNTk4OTYxLCJvd25lciI6InB5dGhvbiIsIm93bmVySWQiOjE1MjU5ODEsIm5hbWUiOiJjcHl0aG9uIiwiZnVsbE5hbWUiOiJweXRob24vY3B5dGhvbiJ9LCJpYXQiOjE2OTY1ODU1NDV9.Zb1wwbYpuWSiZUCN446XKx_3aUtzdYv52CwhyQobaz0
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2023https://github.com/python/cpython/pull/110420#issuecomment-1749458993
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/110420
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
Oct 5, 2023https://github.com/python/cpython/pull/110420#event-10567356996
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2023 https://github.com/python/cpython/pull/110420#ref-issue-1928750702
sub-interpreters: datetime segfaults if imported from two sub-interpreters #110415 https://github.com/python/cpython/issues/110415
https://github.com/costasgambit
fix: clean up the macroshttps://github.com/python/cpython/pull/110420/commits/1b4c96a907eccd0e62a8edf1b87dc0dbe5e81cd9
1b4c96ahttps://github.com/python/cpython/pull/110420/commits/1b4c96a907eccd0e62a8edf1b87dc0dbe5e81cd9
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1749827128
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/costasgambit
fix: typohttps://github.com/python/cpython/pull/110420/commits/94b3788693153b10106860e221ed1146f1e1849f
94b3788https://github.com/python/cpython/pull/110420/commits/94b3788693153b10106860e221ed1146f1e1849f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1749830649
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/costasgambit
fix: brackets in macros just in casehttps://github.com/python/cpython/pull/110420/commits/681d7c86c8f5786b420db749d05fcb0107b8580f
681d7c8https://github.com/python/cpython/pull/110420/commits/681d7c86c8f5786b420db749d05fcb0107b8580f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1749844898
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/costasgambit
fix: ZoneInfo warning about base needing to be immutablehttps://github.com/python/cpython/pull/110420/commits/68c7ec1b0988e8207f281eedf902d93940176091
68c7ec1https://github.com/python/cpython/pull/110420/commits/68c7ec1b0988e8207f281eedf902d93940176091
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1749859090
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/costasgambit
chore: add news blurbhttps://github.com/python/cpython/pull/110420/commits/2093f8a70e22df650a7f2d5ce3a4bb723ca898b8
2093f8ahttps://github.com/python/cpython/pull/110420/commits/2093f8a70e22df650a7f2d5ce3a4bb723ca898b8
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
October 6, 2023 09:04https://github.com/python/cpython/pull/110420#event-10572601399
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1750243409
gh-71587: Isolate _datetime #102995https://github.com/python/cpython/pull/102995
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1750289409
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/abalkin
Merge branch '3.12' into costas--py3.12-datetimehttps://github.com/python/cpython/pull/110420/commits/3f9fd1eb00c4b212d6a67be8ffcf8421400d131b
3f9fd1ehttps://github.com/python/cpython/pull/110420/commits/3f9fd1eb00c4b212d6a67be8ffcf8421400d131b
https://github.com/costasgambit
costasgambithttps://github.com/costasgambit
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1750589928
Please reload this pagehttps://github.com/python/cpython/pull/110420
https://github.com/costasgambit
costasgambithttps://github.com/costasgambit
Oct 6, 2023https://github.com/python/cpython/pull/110420#event-10574672667
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Oct 6, 2023https://github.com/python/cpython/pull/110420#issuecomment-1750628132
Please reload this pagehttps://github.com/python/cpython/pull/110420
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%2F110420
https://github.com/pganssle
pganssle https://github.com/pganssle
https://github.com/abalkin
abalkin https://github.com/abalkin
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
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/110420
https://github.com/costasgambit
https://github.com/erlend-aasland
https://github.com/abalkin
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.