-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
Import abs in functions/all.py #21657
Comments
Commit: |
Author: Paul Masson |
New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:3
Patchbot:
|
comment:4
Commenting on some of the doctest failures...
This looks like the correct answer so just adapt the doctest.
Most fails are of this type. I think this is related to #17790.
This one is different, it looks like a bug in |
comment:5
Can we not merge this ticket and close it as invalid? I think the alias should be interpreted the other way around: |
comment:6
My sage-devel post repeated here:
so there is a difference that might show with other usages too. |
comment:7
Replying to @rwst:
You can change that if you want to, but I'm not sure if one or the other has an advantage.
That doesn't confirm the statement you made above. Python's So the error traceback of
These difference have a good reason, though, and are evidence of an efficiency in Differences between toplevel functions and symbolic functions happen more often, even for things that are in control of sage:
|
comment:8
Replying to @nbruin:
I really didn't expect this simple change to cause so much trouble, so yes let's close it. Thanks for the feedback. |
comment:10
Replying to @paulmasson:
:-) Hopefully you enjoyed learning something about python and sage in the process. |
Since
abs
is an explicit alias ofabs_symbolic
it should be explicitly imported fromfunctions/other.py
Component: symbolics
Author: Paul Masson
Branch/Commit: u/paulmasson/import_abs_in_functions_all_py @
b36e1c4
Issue created by migration from https://trac.sagemath.org/ticket/21657
The text was updated successfully, but these errors were encountered: