Open Jhsmit opened 4 years ago
Yeah you're probably right about this. The original reason for doing this is that there is probably a lot of useful stuff in sympy that people want to have access to, and it's a changing list over time. Is there a smart way to get both proper paths and a maintenance free way of exposing sympy?
Yes I understand the reasoning and I frequently use exp
from sympy.
this issue is related to: https://github.com/sympy/sympy/issues/12115
where they had a similar issue of imports from sympy.core.core
and this seems to be fixed on diofant (which is a fork of sympy) by restructuring and removing core.py
The only fix I can think of is manually importing what could be useful. But if you look in sympy
's init its a long list.
In api.py the sympy API is exposed by:
This has the consequence that:
What? symfit.core is not sympy.core.core? Its probably not a problem but it caused me a lot of confusion since you can't import anymore like this:
Maybe we can only import the useful stuff from sympy instead of importing *?