Skip to content

Remove __eq__ and __ne__ overrides for dataclasses and attrs#8642

Merged
JukkaL merged 1 commit intopython:masterfrom
tkukushkin:fix-8638
Apr 8, 2020
Merged

Remove __eq__ and __ne__ overrides for dataclasses and attrs#8642
JukkaL merged 1 commit intopython:masterfrom
tkukushkin:fix-8638

Conversation

@tkukushkin
Copy link
Copy Markdown
Contributor

Fixes #8638.

Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Creating __eq__ and __ne__ methods seems to serve no useful purpose.

@JukkaL
Copy link
Copy Markdown
Collaborator

JukkaL commented Apr 8, 2020

The Travis failure is a flake.

@JukkaL JukkaL merged commit a6c3e07 into python:master Apr 8, 2020
@tkukushkin tkukushkin deleted the fix-8638 branch April 9, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid definition of __eq__ on dataclasses

2 participants