René's URL Explorer Experiment


Title: GH-84976: Create Lib/_pydatetime to optimize import datetime when C implementation is available by pganssle · Pull Request #103637 · python/cpython · GitHub

Open Graph Title: GH-84976: Create Lib/_pydatetime to optimize import datetime when C implementation is available by pganssle · Pull Request #103637 · python/cpython

X Title: GH-84976: Create Lib/_pydatetime to optimize import datetime when C implementation is available by pganssle · Pull Request #103637 · python/cpython

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

Open Graph Description: From the discussion on stack overflow, #84976 and #99090, no one can find a way to do this that allows clean cherry-picks, but also no one can explain why it's not possible, but at this point i...

X Description: From the discussion on stack overflow, #84976 and #99090, no one can find a way to do this that allows clean cherry-picks, but also no one can explain why it's not possible, but at this poi...

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

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:f7f765e9-0403-6de0-4472-62eb8ba34b5a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC712:39DBD7:148FA5F:1C0A50A:6A4D7558
html-safe-nonce801add11576b94be4b69b2997c85ec2b109b375cf5ad75110d95f61336811c0c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzEyOjM5REJENzoxNDhGQTVGOjFDMEE1MEE6NkE0RDc1NTgiLCJ2aXNpdG9yX2lkIjoiNjU2MzA5NzI2MDAyNzkwMTI3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6a3cd85fd9c5ad873a027c31f4dbddd23c79f377de5587ff53b14cdd6764c571
hovercard-subject-tagpull_request:1320621193
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/103637/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7d24841b27c574accb81a8eeb6cbe88b38e9839a5a452b37fad2a2302d32684e/python/cpython/pull/103637
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7d24841b27c574accb81a8eeb6cbe88b38e9839a5a452b37fad2a2302d32684e/python/cpython/pull/103637
og:image:altFrom the discussion on stack overflow, #84976 and #99090, no one can find a way to do this that allows clean cherry-picks, but also no one can explain why it's not possible, but at this point i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepganssle
hostnamegithub.com
expected-hostnamegithub.com
Nonec78260c7b3f4ac4b0356c8208537f05406a3a2d46a9ec3f735b372dcc519c39e
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
release399fff412f48461d435721c009efc17ea44be72f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/103637#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103637
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F103637
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/103637
Reloadhttps://github.com/python/cpython/pull/103637
Reloadhttps://github.com/python/cpython/pull/103637
Please reload this pagehttps://github.com/python/cpython/pull/103637
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/103637
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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
Yhg1shttps://github.com/Yhg1s
python:mainhttps://github.com/python/cpython/tree/main
pganssle:move_pydatetimehttps://github.com/pganssle/cpython/tree/move_pydatetime
Conversationhttps://github.com/python/cpython/pull/103637
Commits2 (2)https://github.com/python/cpython/pull/103637/commits
Checkshttps://github.com/python/cpython/pull/103637/checks
Files changedhttps://github.com/python/cpython/pull/103637/files
GH-84976: Create Lib/_pydatetime to optimize import datetime when C implementation is availablehttps://github.com/python/cpython/pull/103637#top
Yhg1shttps://github.com/Yhg1s
python:mainhttps://github.com/python/cpython/tree/main
pganssle:move_pydatetimehttps://github.com/pganssle/cpython/tree/move_pydatetime
https://github.com/pganssle
pgansslehttps://github.com/pganssle
Apr 19, 2023https://github.com/python/cpython/pull/103637#issue-1675708545
Please reload this pagehttps://github.com/python/cpython/pull/103637
stack overflowhttps://stackoverflow.com/questions/75825183/is-there-a-way-to-move-a-file-and-then-change-it-in-such-a-way-that-that-git-can
#84976https://github.com/python/cpython/issues/84976
#99090https://github.com/python/cpython/pull/99090
Create Lib/_pydatetime.py file to optimize "import datetime" when _datetime is available #84976https://github.com/python/cpython/issues/84976
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/pganssle
pgansslehttps://github.com/pganssle
abalkinhttps://github.com/abalkin
code ownerhttps://github.com/python/cpython/blob/2b1260c55763a952c57b92fe0f274b6ee79efd05/.github/CODEOWNERS#L69
April 19, 2023 22:05https://github.com/python/cpython/pull/103637#event-9051312783
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Apr 19, 2023 https://github.com/python/cpython/pull/103637#ref-issue-1199037470
Create Lib/_pydatetime.py file to optimize "import datetime" when _datetime is available #84976 https://github.com/python/cpython/issues/84976
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Apr 19, 2023https://github.com/python/cpython/pull/103637#event-9051313419
https://github.com/pganssle
pgansslehttps://github.com/pganssle
force-pushedhttps://github.com/python/cpython/compare/e369bc70b40c46eaad875466163442ee486613e9..33dd738144695e606badc2f41340dfb1584b965f
e369bc7https://github.com/python/cpython/commit/e369bc70b40c46eaad875466163442ee486613e9
33dd738https://github.com/python/cpython/commit/33dd738144695e606badc2f41340dfb1584b965f
Compare https://github.com/python/cpython/compare/e369bc70b40c46eaad875466163442ee486613e9..33dd738144695e606badc2f41340dfb1584b965f
April 19, 2023 23:27https://github.com/python/cpython/pull/103637#event-9051675018
https://github.com/pganssle
pgansslehttps://github.com/pganssle
vstinnerhttps://github.com/vstinner
April 19, 2023 23:27https://github.com/python/cpython/pull/103637#event-9051675779
https://github.com/pganssle
pgansslehttps://github.com/pganssle
Apr 19, 2023https://github.com/python/cpython/pull/103637#issuecomment-1515505429
@ezio-melottihttps://github.com/ezio-melotti
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/pganssle
pgansslehttps://github.com/pganssle
Apr 19, 2023https://github.com/python/cpython/pull/103637#issuecomment-1515509210
@Yhg1shttps://github.com/Yhg1s
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/pganssle
pgansslehttps://github.com/pganssle
force-pushedhttps://github.com/python/cpython/compare/33dd738144695e606badc2f41340dfb1584b965f..813980513423cab8f9f6beedcdc863e44a8373be
33dd738https://github.com/python/cpython/commit/33dd738144695e606badc2f41340dfb1584b965f
8139805https://github.com/python/cpython/commit/813980513423cab8f9f6beedcdc863e44a8373be
Compare https://github.com/python/cpython/compare/33dd738144695e606badc2f41340dfb1584b965f..813980513423cab8f9f6beedcdc863e44a8373be
April 19, 2023 23:37https://github.com/python/cpython/pull/103637#event-9051710019
https://github.com/pganssle
pgansslehttps://github.com/pganssle
force-pushedhttps://github.com/python/cpython/compare/813980513423cab8f9f6beedcdc863e44a8373be..937b1441b400c0b9aad68306eb292f69192fff86
8139805https://github.com/python/cpython/commit/813980513423cab8f9f6beedcdc863e44a8373be
937b144https://github.com/python/cpython/commit/937b1441b400c0b9aad68306eb292f69192fff86
Compare https://github.com/python/cpython/compare/813980513423cab8f9f6beedcdc863e44a8373be..937b1441b400c0b9aad68306eb292f69192fff86
April 27, 2023 17:37https://github.com/python/cpython/pull/103637#event-9117287319
pgansslehttps://github.com/pganssle
May 2, 2023 12:29https://github.com/python/cpython/pull/103637#commits-pushed-4ee7ecd
https://github.com/pganssle
pythonGH-84976https://github.com/python/cpython/issues/84976
: Move Lib/datetime.py to Lib/_pydatetimehttps://github.com/python/cpython/pull/103637/commits/4ee7ecd87275412036c69f9b473e472354deb99f
4ee7ecdhttps://github.com/python/cpython/pull/103637/commits/4ee7ecd87275412036c69f9b473e472354deb99f
https://github.com/pganssle
pythonGH-84976https://github.com/python/cpython/issues/84976
: Re-introducehttps://github.com/python/cpython/pull/103637/commits/012ffde9403b72eea6e65760afdb41e4bcd61a09
datetime.pyhttps://github.com/python/cpython/pull/103637/commits/012ffde9403b72eea6e65760afdb41e4bcd61a09
and fix reprshttps://github.com/python/cpython/pull/103637/commits/012ffde9403b72eea6e65760afdb41e4bcd61a09
012ffdehttps://github.com/python/cpython/pull/103637/commits/012ffde9403b72eea6e65760afdb41e4bcd61a09
https://github.com/pganssle
pgansslehttps://github.com/pganssle
force-pushedhttps://github.com/python/cpython/compare/937b1441b400c0b9aad68306eb292f69192fff86..012ffde9403b72eea6e65760afdb41e4bcd61a09
937b144https://github.com/python/cpython/commit/937b1441b400c0b9aad68306eb292f69192fff86
012ffdehttps://github.com/python/cpython/commit/012ffde9403b72eea6e65760afdb41e4bcd61a09
Compare https://github.com/python/cpython/compare/937b1441b400c0b9aad68306eb292f69192fff86..012ffde9403b72eea6e65760afdb41e4bcd61a09
May 2, 2023 16:29https://github.com/python/cpython/pull/103637#event-9147631856
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
0a5cd98https://github.com/python/cpython/commit/0a5cd984b215f28d3c205eadf0daf201b3388c90
May 3, 2023https://github.com/python/cpython/pull/103637#event-9153201701
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 3, 2023https://github.com/python/cpython/pull/103637#event-9153202376
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
May 3, 2023https://github.com/python/cpython/pull/103637#issuecomment-1532694976
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
May 3, 2023https://github.com/python/cpython/pull/103637#issuecomment-1533663625
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/ngnpope
ngnpopehttps://github.com/ngnpope
May 24, 2023 https://github.com/python/cpython/pull/103637#pullrequestreview-1441325369
View reviewed changes https://github.com/python/cpython/pull/103637/files/012ffde9403b72eea6e65760afdb41e4bcd61a09
Lib/datetime.pyhttps://github.com/python/cpython/pull/103637/files/012ffde9403b72eea6e65760afdb41e4bcd61a09#diff-2a8962dcecb109859cedd81ddc5729bea57d156e0947cb8413f99781a0860fd1
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
May 25, 2023 https://github.com/python/cpython/pull/103637#ref-pullrequest-1725241206
gh-84976: Add back UTC to datetime.__all__ #104920 https://github.com/python/cpython/pull/104920
hauntsaninjahttps://github.com/hauntsaninja
May 25, 2023 https://github.com/python/cpython/pull/103637#ref-commit-8fcaf64
https://github.com/hauntsaninja
pythongh-84796https://github.com/python/cpython/issues/84796
: Add back UTC to datetime.__all__https://github.com/hauntsaninja/cpython/commit/8fcaf6495d5b188ff8eae7ee2180134be097d90a
8fcaf64https://github.com/hauntsaninja/cpython/commit/8fcaf6495d5b188ff8eae7ee2180134be097d90a
python#103637https://github.com/python/cpython/pull/103637
pgansslehttps://github.com/pganssle
May 25, 2023 https://github.com/python/cpython/pull/103637#ref-commit-076b620
https://github.com/hauntsaninja
gh-84976https://github.com/python/cpython/issues/84976
: Add back UTC to datetime.__all__ (https://github.com/python/cpython/commit/076b6204cbe481fdec39ce12a71aaaa6384478a0
#104920https://github.com/python/cpython/pull/104920
)https://github.com/python/cpython/commit/076b6204cbe481fdec39ce12a71aaaa6384478a0
076b620https://github.com/python/cpython/commit/076b6204cbe481fdec39ce12a71aaaa6384478a0
gh-84796https://github.com/python/cpython/issues/84796
#103637https://github.com/python/cpython/pull/103637
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jun 23, 2023 https://github.com/python/cpython/pull/103637#ref-pullrequest-1771319083
[3.12] gh-84976: Add back UTC to datetime.__all__ (GH-104920) #106019 https://github.com/python/cpython/pull/106019
miss-islingtonhttps://github.com/miss-islington
Jun 23, 2023 https://github.com/python/cpython/pull/103637#ref-commit-236684e
https://github.com/hauntsaninja
https://github.com/miss-islington
pythongh-84976https://github.com/python/cpython/issues/84976
: Add back UTC to datetime.__all__ (https://github.com/miss-islington/cpython/commit/236684e4806105375e3b3ec91eceeeb758abd2d4
pythonGH-104920https://github.com/python/cpython/pull/104920
)https://github.com/miss-islington/cpython/commit/236684e4806105375e3b3ec91eceeeb758abd2d4
236684ehttps://github.com/miss-islington/cpython/commit/236684e4806105375e3b3ec91eceeeb758abd2d4
pythongh-84796https://github.com/python/cpython/issues/84796
pythonGH-103637https://github.com/python/cpython/pull/103637
076b620https://github.com/miss-islington/cpython/commit/076b6204cbe481fdec39ce12a71aaaa6384478a0
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F103637
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/cpython/pull/103637/files/012ffde9403b72eea6e65760afdb41e4bcd61a09
https://github.com/abalkin
abalkin https://github.com/abalkin
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/ngnpope
ngnpope https://github.com/ngnpope
https://github.com/python/cpython/pull/103637/files/012ffde9403b72eea6e65760afdb41e4bcd61a09
Please reload this pagehttps://github.com/python/cpython/pull/103637
https://github.com/pganssle
https://github.com/Yhg1s
https://github.com/vstinner
https://github.com/ngnpope
https://github.com/hauntsaninja
https://github.com/bedevere-bot
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.