René's URL Explorer Experiment


Title: gh-137658: Fix dataclass order method behaviors to align with the equality semantics by gesslerpd · Pull Request #137497 · python/cpython · GitHub

Open Graph Title: gh-137658: Fix dataclass order method behaviors to align with the equality semantics by gesslerpd · Pull Request #137497 · python/cpython

X Title: gh-137658: Fix dataclass order method behaviors to align with the equality semantics by gesslerpd · Pull Request #137497 · python/cpython

Description: This change writes the order methods in a way more consistent with the current accepted semantics of __eq__ after it was optimized in #104904 . Ever since semantics of __eq__ changed in 3.13+ the o...

Open Graph Description: This change writes the order methods in a way more consistent with the current accepted semantics of __eq__ after it was optimized in #104904 . Ever since semantics of __eq__ changed in 3.13+ the o...

X Description: This change writes the order methods in a way more consistent with the current accepted semantics of __eq__ after it was optimized in #104904 . Ever since semantics of __eq__ changed in 3.13+ the o...

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

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:3f03d47c-f6de-a98c-0c2f-4fe14612315f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE250:10F1EB:7F8F73:B3549F:696A2095
html-safe-nonce2ba398ffe8dd7b56ebd9304314c48d9b57e022dc8d4d92f0f64ce20052344c5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjUwOjEwRjFFQjo3RjhGNzM6QjM1NDlGOjY5NkEyMDk1IiwidmlzaXRvcl9pZCI6IjUyNDQ3NDUyMjQ0NjA4MzcwMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7e8196932520d433e77512f04d0b5bc91c2604ebe9a604d2bb2a2b53ba299388
hovercard-subject-tagpull_request:2725995245
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/137497/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d7a70c026cbad594c3067de4c6c2befbfdef4fe9e8291c697c81a4ea3d8da9cf/python/cpython/pull/137497
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d7a70c026cbad594c3067de4c6c2befbfdef4fe9e8291c697c81a4ea3d8da9cf/python/cpython/pull/137497
og:image:altThis change writes the order methods in a way more consistent with the current accepted semantics of __eq__ after it was optimized in #104904 . Ever since semantics of __eq__ changed in 3.13+ the o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegesslerpd
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-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/137497#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137497
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%2F137497
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/137497
Reloadhttps://github.com/python/cpython/pull/137497
Reloadhttps://github.com/python/cpython/pull/137497
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/137497
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/137497
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/137497#issue-comment-box
gesslerpdhttps://github.com/gesslerpd
python:mainhttps://github.com/python/cpython/tree/main
gesslerpd:perf-dataclass-orderhttps://github.com/gesslerpd/cpython/tree/perf-dataclass-order
gh-137658: Fix dataclass order method behaviors to align with the equality semantics https://github.com/python/cpython/pull/137497#top
gesslerpdhttps://github.com/gesslerpd
python:mainhttps://github.com/python/cpython/tree/main
gesslerpd:perf-dataclass-orderhttps://github.com/gesslerpd/cpython/tree/perf-dataclass-order
Conversation 8 https://github.com/python/cpython/pull/137497
Commits 12 https://github.com/python/cpython/pull/137497/commits
Checks 42 https://github.com/python/cpython/pull/137497/checks
Files changed https://github.com/python/cpython/pull/137497/files
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Aug 7, 2025https://github.com/python/cpython/pull/137497#issue-3298481253
Please reload this pagehttps://github.com/python/cpython/pull/137497
#104904https://github.com/python/cpython/pull/104904
Inconsistent dataclass order behavior on Python 3.13+ #137658https://github.com/python/cpython/issues/137658
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
speedup compare methodshttps://github.com/python/cpython/pull/137497/commits/94ef58993c71edbef209c7a862854870fc16b5ff
94ef589https://github.com/python/cpython/pull/137497/commits/94ef58993c71edbef209c7a862854870fc16b5ff
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
ericvsmithhttps://github.com/ericvsmith
code ownerhttps://github.com/python/cpython/blob/3000594e929aea768fe0dd2437e0722ecfa2dbdc/.github/CODEOWNERS#L271
August 7, 2025 00:31https://github.com/python/cpython/pull/137497#event-19023998055
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
Aug 7, 2025https://github.com/python/cpython/pull/137497#event-19023998697
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Aug 7, 2025https://github.com/python/cpython/pull/137497#event-19023999852
https://github.com/gesslerpd
op fixhttps://github.com/python/cpython/pull/137497/commits/0827c658ed345570236eebfb7b946df5711bbb62
0827c65https://github.com/python/cpython/pull/137497/commits/0827c658ed345570236eebfb7b946df5711bbb62
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 7, 2025https://github.com/python/cpython/pull/137497#event-19024468397
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
Aug 7, 2025https://github.com/python/cpython/pull/137497#issuecomment-3162118364
Please reload this pagehttps://github.com/python/cpython/pull/137497
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/ericvsmith
ericvsmithhttps://github.com/ericvsmith
Aug 7, 2025https://github.com/python/cpython/pull/137497#issuecomment-3165396635
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
Merge branch 'python:main' into perf-dataclass-orderhttps://github.com/python/cpython/pull/137497/commits/1eca2ac87f13953cfcd319fc50061e23789bb43b
1eca2achttps://github.com/python/cpython/pull/137497/commits/1eca2ac87f13953cfcd319fc50061e23789bb43b
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Aug 7, 2025https://github.com/python/cpython/pull/137497#issuecomment-3166072776
@ericvsmithhttps://github.com/ericvsmith
changehttps://github.com/python/cpython/pull/582/files#diff-557326cf97a3eb82a8bdd2cefa7ce5e845c076dd0127e24d1105ade1f696fc00
#582https://github.com/python/cpython/pull/582
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/ericvsmith
ericvsmithhttps://github.com/ericvsmith
Aug 9, 2025https://github.com/python/cpython/pull/137497#issuecomment-3169643231
#128294https://github.com/python/cpython/issues/128294
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Aug 12, 2025https://github.com/python/cpython/pull/137497#issuecomment-3177250131
Please reload this pagehttps://github.com/python/cpython/pull/137497
@ericvsmithhttps://github.com/ericvsmith
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Aug 12, 2025 https://github.com/python/cpython/pull/137497#ref-issue-3312033201
Inconsistent dataclass order behavior on Python 3.13+ #137658 https://github.com/python/cpython/issues/137658
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Aug 12, 2025https://github.com/python/cpython/pull/137497#event-19100255855
gesslerpdhttps://github.com/gesslerpd
August 11, 2025 19:28https://github.com/python/cpython/pull/137497#commits-pushed-b29f17b
https://github.com/gesslerpd
add newshttps://github.com/python/cpython/pull/137497/commits/b29f17b9e06890d620d0fc48298a69f491e13046
b29f17bhttps://github.com/python/cpython/pull/137497/commits/b29f17b9e06890d620d0fc48298a69f491e13046
https://github.com/gesslerpd
add testshttps://github.com/python/cpython/pull/137497/commits/69bf11486584e42f32f91186185b0bb705a29744
69bf114https://github.com/python/cpython/pull/137497/commits/69bf11486584e42f32f91186185b0bb705a29744
https://github.com/gesslerpd
normalizehttps://github.com/python/cpython/pull/137497/commits/0432c2a1bda8022dbeeb875d61dc8f73091748f2
0432c2ahttps://github.com/python/cpython/pull/137497/commits/0432c2a1bda8022dbeeb875d61dc8f73091748f2
https://github.com/gesslerpd
streamline loop (revert if less readable or problematic)https://github.com/python/cpython/pull/137497/commits/0a98d688b5973624d0229e0f5bae6aa45c483138
0a98d68https://github.com/python/cpython/pull/137497/commits/0a98d688b5973624d0229e0f5bae6aa45c483138
https://github.com/gesslerpd
add commentshttps://github.com/python/cpython/pull/137497/commits/1eecf2ad74f363661415e644402a23c2b967d94f
1eecf2ahttps://github.com/python/cpython/pull/137497/commits/1eecf2ad74f363661415e644402a23c2b967d94f
https://github.com/gesslerpd
inline now that loop is streamlinedhttps://github.com/python/cpython/pull/137497/commits/72027f6563ff14ae13265e27f1b37af4b566f30f
72027f6https://github.com/python/cpython/pull/137497/commits/72027f6563ff14ae13265e27f1b37af4b566f30f
https://github.com/gesslerpd
add "self" comparison checkshttps://github.com/python/cpython/pull/137497/commits/fa547b5ddc4a027c580705f29ed18112d2bbb1de
fa547b5https://github.com/python/cpython/pull/137497/commits/fa547b5ddc4a027c580705f29ed18112d2bbb1de
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Sep 2, 2025https://github.com/python/cpython/pull/137497#issuecomment-3246931569
@AA-Turnerhttps://github.com/AA-Turner
#104904https://github.com/python/cpython/pull/104904
@ericvsmithhttps://github.com/ericvsmith
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/ericvsmith
ericvsmithhttps://github.com/ericvsmith
topic-dataclasses https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-dataclasses
Sep 19, 2025https://github.com/python/cpython/pull/137497#event-19796042412
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
December 11, 2025 04:08https://github.com/python/cpython/pull/137497#event-21494078443
https://github.com/gesslerpd
add comments referencing issue to testhttps://github.com/python/cpython/pull/137497/commits/242ae0f867f01fa6b095106eaa8b12074e0ce923
242ae0fhttps://github.com/python/cpython/pull/137497/commits/242ae0f867f01fa6b095106eaa8b12074e0ce923
started reviewinghttps://github.com/copilot/tasks/pull/PR_kwDOBN0Z8c6ie2Lt?session_id=819e73fa-c5e3-419f-b408-e79abb50282d
gesslerpdhttps://github.com/gesslerpd
December 11, 2025 04:09https://github.com/python/cpython/pull/137497#event-21494089039
View session https://github.com/copilot/tasks/pull/PR_kwDOBN0Z8c6ie2Lt?session_id=819e73fa-c5e3-419f-b408-e79abb50282d
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Dec 11, 2025 https://github.com/python/cpython/pull/137497#pullrequestreview-3565549720
View reviewed changes https://github.com/python/cpython/pull/137497/files/242ae0f867f01fa6b095106eaa8b12074e0ce923
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/python/cpython/pull/137497#pullrequestreview-3565549720
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#104904https://github.com/python/cpython/pull/104904
Add Copilot custom instructionshttps://github.com/python/cpython/new/main/.github/instructions?filename=*.instructions.md
Learn how to get startedhttps://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
gesslerpdhttps://github.com/gesslerpd
Dec 11, 2025https://github.com/python/cpython/pull/137497#issuecomment-3640031815
@ericvsmithhttps://github.com/ericvsmith
#137658https://github.com/python/cpython/issues/137658
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
Merge branch 'main' into perf-dataclass-orderhttps://github.com/python/cpython/pull/137497/commits/8e10c5b4212100e998064580793ad6b93788a407
8e10c5bhttps://github.com/python/cpython/pull/137497/commits/8e10c5b4212100e998064580793ad6b93788a407
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%2F137497
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
https://github.com/python/cpython/pull/137497/files/242ae0f867f01fa6b095106eaa8b12074e0ce923
https://github.com/ericvsmith
ericvsmith https://github.com/ericvsmith
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
topic-dataclasses https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-dataclasses
Please reload this pagehttps://github.com/python/cpython/pull/137497
https://github.com/gesslerpd
https://github.com/AA-Turner
https://github.com/ericvsmith
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.