New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ring morphisms should not override __richcmp__ #23485
Comments
Changed keywords from none to sd87 |
Commit: |
New commits:
|
comment:5
These blocks of code should go away:
I disagree with them in the first place and they are just pointless now. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Passes all doctests now too. |
Reviewer: Aly Deines |
comment:9
Sorry, I was wrong. At least some of the type checks are still needed, because equal parents does not imply equal types here. For example:
|
Changed reviewer from Aly Deines to Aly Deines, Jeroen Demeyer |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Looks good to me. |
Changed reviewer from Aly Deines, Jeroen Demeyer to Aly Deines, Jeroen Demeyer, David Roe |
Changed branch from u/saraedum/ring_morphisms_should_not_override___richcmp__ to |
But only override
_richcmp_
instead.Overwriting
__richcmp__
used to be necessary to override__hash__
. This is not the case anymore it seems.CC: @roed314
Component: refactoring
Keywords: sd87
Author: Julian Rüth
Branch/Commit:
ffc7371
Reviewer: Aly Deines, Jeroen Demeyer, David Roe
Issue created by migration from https://trac.sagemath.org/ticket/23485
The text was updated successfully, but these errors were encountered: