-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Two postponed TODOs in recent PRs... #1148
Conversation
rocky
commented
Oct 27, 2024
- Move eval functions to mathics.eval.numbers.numbers
- Move "no_doc" after imports
* Move eval functions to mathics.eval.numbers.numbers * Move "no_doc" after imports
b818ecd
to
a35c843
Compare
@@ -140,25 +222,11 @@ def cancel(expr): | |||
return expr | |||
|
|||
|
|||
def cancel(expr): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens with this function? Is it not needed anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function is duplicated. This is easier to see in the master branch right now:
https://github.com/Mathics3/mathics-core/blob/master/mathics/eval/numbers/numbers.py#L122-L149
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the clarification!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from my comment about the apparently unused cancel
function, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM