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
Fix Expression substitution interface inconsistency #23320
Comments
comment:1
I disagree. I would say this is a misuse and tomchor is backwards on what is a representation and what is a variable.
is a function in |
This comment has been minimized.
This comment has been minimized.
comment:2
I agree with your explanation. But note that this ticket is about the inconsistency between
It happens because the dict key is immediately replaced but the
|
comment:3
There is no way around that either because it points to the "correct" variable and because they key of the dict is the variable, not a string. So by the time you are doing the substitution, it is evaluated to |
comment:4
You are sure that the entry |
comment:5
Replying to @rwst:
Yes, I am sure. In the I believe that anytime we have to go find a variable in all Python variables (which is very [relatively] expensive) gives off a very strong code smell. In my mind, the variable is |
comment:7
IMHO for this inherent inconsistency the usage of |
comment:8
Closing tickets in the sage-duplicate/invalid/wontfix module with positive_review (i.e. someone has confirmed they should be closed). |
From tomchor on #78
Component: symbolics
Issue created by migration from https://trac.sagemath.org/ticket/23320
The text was updated successfully, but these errors were encountered: