-
-
Notifications
You must be signed in to change notification settings - Fork 601
Warn with substitution of derived classes using equality #24255
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
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:7
The first has |
comment:8
Since we cannot use the |
comment:9
Adding |
This comment has been minimized.
This comment has been minimized.
comment:11
Replying to @rwst:
I think this is just a difference between new-style and old-style classes. This has nothing to do with Cython. |
comment:12
Without any Cython classes involved:
|
comment:13
Why then would |
comment:14
Replying to @rwst:
Okay the answer is https://stackoverflow.com/questions/54867/what-is-the-difference-between-old-style-and-new-style-classes-in-python and Python is a PITA. |
There is a long-standing problem with substitution in that some substitutions do not work when given as equality but do work when given as dictionary.
It looks like that in some cases the conversion to dict switches lhs and rhs of the equation and this is because of such behaviour:
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/24255
The text was updated successfully, but these errors were encountered: