René's URL Explorer Experiment


Title: gh-49766: Make date-datetime comparison more symmetric and flexible by serhiy-storchaka · Pull Request #114760 · python/cpython · GitHub

Open Graph Title: gh-49766: Make date-datetime comparison more symmetric and flexible by serhiy-storchaka · Pull Request #114760 · python/cpython

X Title: gh-49766: Make date-datetime comparison more symmetric and flexible by serhiy-storchaka · Pull Request #114760 · python/cpython

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

Open Graph Description: Now the special comparison methods like __eq__ and __lt__ return NotImplemented if one of comparands is date and other is datetime instead of ignoring the time part and the time zone or forcefully ...

X Description: Now the special comparison methods like __eq__ and __lt__ return NotImplemented if one of comparands is date and other is datetime instead of ignoring the time part and the time zone or forcefully ...

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

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:36e7a791-60bf-53c4-fa8c-7b875af01116
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id917A:50919:32FD1D7:45ECFD3:6A4F092F
html-safe-nonce74b2f0e16641216bcc6957ac4f94f0aa4248f0c0764a638640c129c2658f93c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTdBOjUwOTE5OjMyRkQxRDc6NDVFQ0ZEMzo2QTRGMDkyRiIsInZpc2l0b3JfaWQiOiI0Njc1NTA0MTY2MTY4MTAzMjE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace922a59f545ecbbfd5d96c963213e282645718d0c9c04bb760a0b572146ab179
hovercard-subject-tagpull_request:1702813579
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/114760/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5b01881b7982d767822290887800e8c56ee4fb73ddc8543110c6503332e8337d/python/cpython/pull/114760
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5b01881b7982d767822290887800e8c56ee4fb73ddc8543110c6503332e8337d/python/cpython/pull/114760
og:image:altNow the special comparison methods like __eq__ and __lt__ return NotImplemented if one of comparands is date and other is datetime instead of ignoring the time part and the time zone or forcefully ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/114760#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F114760
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%2F114760
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/114760
Reloadhttps://github.com/python/cpython/pull/114760
Reloadhttps://github.com/python/cpython/pull/114760
Please reload this pagehttps://github.com/python/cpython/pull/114760
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/114760
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:date-datetime-comparisonhttps://github.com/serhiy-storchaka/cpython/tree/date-datetime-comparison
Conversationhttps://github.com/python/cpython/pull/114760
Commits9 (9)https://github.com/python/cpython/pull/114760/commits
Checkshttps://github.com/python/cpython/pull/114760/checks
Files changedhttps://github.com/python/cpython/pull/114760/files
gh-49766: Make date-datetime comparison more symmetric and flexiblehttps://github.com/python/cpython/pull/114760#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:date-datetime-comparisonhttps://github.com/serhiy-storchaka/cpython/tree/date-datetime-comparison
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 30, 2024https://github.com/python/cpython/pull/114760#issue-2108680119
Please reload this pagehttps://github.com/python/cpython/pull/114760
equality not symmetric for subclasses of datetime.date and datetime.datetime #49766https://github.com/python/cpython/issues/49766
Please reload this pagehttps://github.com/python/cpython/pull/114760
https://github.com/serhiy-storchaka
pythongh-49766https://github.com/python/cpython/issues/49766
: Make date-datetime comparison more symmetric and flex…https://github.com/python/cpython/pull/114760/commits/e7287b366177be48a9030dcdcd88fd872aa35d56
e7287b3https://github.com/python/cpython/pull/114760/commits/e7287b366177be48a9030dcdcd88fd872aa35d56
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
abalkinhttps://github.com/abalkin
pgansslehttps://github.com/pganssle
code ownershttps://github.com/python/cpython/blob/fda7445ca50b892955fc31bd72a3615fef1d70c6/.github/CODEOWNERS#L123
January 30, 2024 20:14https://github.com/python/cpython/pull/114760#event-11646955190
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 30, 2024 https://github.com/python/cpython/pull/114760#ref-issue-1198842410
equality not symmetric for subclasses of datetime.date and datetime.datetime #49766 https://github.com/python/cpython/issues/49766
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 30, 2024https://github.com/python/cpython/pull/114760#event-11646956010
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 30, 2024https://github.com/python/cpython/pull/114760#issuecomment-1917817647
#114749https://github.com/python/cpython/pull/114749
Please reload this pagehttps://github.com/python/cpython/pull/114760
serhiy-storchakahttps://github.com/serhiy-storchaka
February 2, 2024 20:56https://github.com/python/cpython/pull/114760#commits-pushed-604ea30
https://github.com/serhiy-storchaka
Merge branch 'main' into date-datetime-comparisonhttps://github.com/python/cpython/pull/114760/commits/604ea3014cd39a5d83264026974c773791944679
604ea30https://github.com/python/cpython/pull/114760/commits/604ea3014cd39a5d83264026974c773791944679
https://github.com/serhiy-storchaka
Update documentation.https://github.com/python/cpython/pull/114760/commits/f534d9e79529f4750f642708ac1639d3d6004da9
f534d9ehttps://github.com/python/cpython/pull/114760/commits/f534d9e79529f4750f642708ac1639d3d6004da9
https://github.com/serhiy-storchaka
Clean up.https://github.com/python/cpython/pull/114760/commits/ecc8c4c32492a5d4dc914de772e23ddbd5b64f92
ecc8c4chttps://github.com/python/cpython/pull/114760/commits/ecc8c4c32492a5d4dc914de772e23ddbd5b64f92
https://github.com/serhiy-storchaka
Fix the clean-up.https://github.com/python/cpython/pull/114760/commits/a23a7ef18494204bc55e9ae931320a2201cec06c
a23a7efhttps://github.com/python/cpython/pull/114760/commits/a23a7ef18494204bc55e9ae931320a2201cec06c
https://github.com/serhiy-storchaka
Merge branch 'main' into date-datetime-comparisonhttps://github.com/python/cpython/pull/114760/commits/f40d2666d6f7eadd5dc8a6223fb2c479d0e77755
f40d266https://github.com/python/cpython/pull/114760/commits/f40d2666d6f7eadd5dc8a6223fb2c479d0e77755
https://github.com/serhiy-storchaka
Merge branch 'main' into date-datetime-comparisonhttps://github.com/python/cpython/pull/114760/commits/fd383abe3630ab76b7604f1e4c360d5b387568a7
fd383abhttps://github.com/python/cpython/pull/114760/commits/fd383abe3630ab76b7604f1e4c360d5b387568a7
https://github.com/serhiy-storchaka
Normalize indentation for patchcheck.https://github.com/python/cpython/pull/114760/commits/463252bb7f46e809bf1978e1ff3c761d520c1a0a
463252bhttps://github.com/python/cpython/pull/114760/commits/463252bb7f46e809bf1978e1ff3c761d520c1a0a
https://github.com/serhiy-storchaka
Merge branch 'main' into date-datetime-comparisonhttps://github.com/python/cpython/pull/114760/commits/d68cc3dff1e4992f6f9e5ad9084e05c6fae9aa2b
d68cc3dhttps://github.com/python/cpython/pull/114760/commits/d68cc3dff1e4992f6f9e5ad9084e05c6fae9aa2b
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
b104360https://github.com/python/cpython/commit/b1043607884d774acabd255ecdcebb159f76a2fb
Feb 11, 2024https://github.com/python/cpython/pull/114760#event-11766762812
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 11, 2024https://github.com/python/cpython/pull/114760#event-11766762893
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
February 11, 2024 11:06https://github.com/python/cpython/pull/114760#event-11766762907
fsc-erikerhttps://github.com/fsc-eriker
Feb 14, 2024 https://github.com/python/cpython/pull/114760#ref-commit-9ff65cc
https://github.com/serhiy-storchaka
https://github.com/fsc-eriker
pythongh-49766https://github.com/python/cpython/issues/49766
: Make date-datetime comparison more symmetric and flex…https://github.com/fsc-eriker/cpython/commit/9ff65cc69b2493c5efab5f78de5c0ff7cf7390f6
9ff65cchttps://github.com/fsc-eriker/cpython/commit/9ff65cc69b2493c5efab5f78de5c0ff7cf7390f6
pythonGH-114760https://github.com/python/cpython/pull/114760
https://github.com/befeleme
befelemehttps://github.com/befeleme
Feb 21, 2024 https://github.com/python/cpython/pull/114760#ref-issue-2146447278
Test failures with Python 3.13.0a4: test_dates_behave_like_dates and test_times_behave_like_times python-poetry/tomlkit#333 https://github.com/python-poetry/tomlkit/issues/333
https://github.com/hairmare
hairmarehttps://github.com/hairmare
Feb 9, 2025 https://github.com/python/cpython/pull/114760#ref-pullrequest-2840573446
chore: replace datetime with date for py3.13 radiorabe/suisa_sendemeldung#664 https://github.com/radiorabe/suisa_sendemeldung/pull/664
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%2F114760
https://github.com/pganssle
pganssle https://github.com/pganssle
https://github.com/abalkin
abalkin https://github.com/abalkin
Please reload this pagehttps://github.com/python/cpython/pull/114760
https://github.com/serhiy-storchaka
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.