On Thu, Nov 11, 2010 at 7:14 PM, Ronan Lamy <ronan.l...@gmail.com> wrote:
> Le jeudi 11 novembre 2010 à 12:08 -0800, Ondrej Certik a écrit :
>> On Thu, Nov 11, 2010 at 11:59 AM, Ronan Lamy <ronan.l...@gmail.com> wrote:
>> > Hi all,
>> >
>> > Running 'python bin/sympy_time.py', I realised that importing sympy
>> > pulls in a lot of stuff that are irrelevant to an end user, like pdb,
>> > doctest or py.test. Fixing this simply requires removing the imports of
>> > runtests and pytest from sympy/utilities/__init.py and importing those
>> > modules explicitly where they are required.
>>
>> This should be done.
>
> https://github.com/sympy/sympy/pull/30
>
>
>> >
>> > What do you think?
>>
>> I think that the main "sympy" module should provide some reasonable
>> set of tools, right away. Maybe we can remove some things from the
>> global namespace into modules.
>>
> +1
>
>> For specialized things, one should import things explicitly. For
>> example the physics quantum code needs to be imported from
>> sympy.physics.hydrogen and so on.
>>
>> Ondrej
>>
> There a few rather self-contained subpackages that shouldn't be
> imported, then. These are physics, geometry and galgebra. It seems more
> difficult to compartmentise all the mathematical stuff (e.g. N-theory
> might seem to be an advanced and specialised topic but we certainly need
> primality testing everywhere).
>

It sounds like we need one of those packages that draws an
interrelationship graph of all the modules.

Aaron Meurer

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to