On 13/05/2020 23:36, Jason Moore wrote:
I had a look at the backwards incompatibilities.
This one stood out:
Submodule names are no longer imported with |from sympy import *|.
They can still be imported directly like |from sympy import core| or
accessed like |sympy.core|, or like |sys.modules['sympy.simplify']|
for modules that share names with SymPy functions.
Is this really necessary? On the face of it, I suspect this could
cause a fair amount of code in the wild to break. I'm not sure what
breaking this functionality gains, but it surely may cause down stream
pain.
I agree strongly with this comment.
There needs to be a simple sway to load all the SymPy functionality -
not least because users may not know the exact name of a function they
wish to use, let alone what submodule it is located in! In addition, as
Jason says, this will break a great deal of code.
Not everyone who wishes to use SymPy is going to be familiar with Python.
David
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/7a0da02f-b984-b2cc-8bd1-93ad4aa0f687%40dbailey.co.uk.