smichr
unread,Oct 31, 2009, 11:41:54 PM10/31/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sympy
Does anyone know the reason for not including certain objects in a
module's __init__? e.g. "cartes" is not loaded in utilities/
__init__.py so although "sympy.utilities.iterables.cartes" works, a
"from sympy.utilities import *" does not import "cartes".
If the "from foo import *" is frowned upon, then what is the purpose
of declaring things in __init__? Does it just make it easier to get at
things, e.g.
>>> from sympy.utilities import any # rather than
>>> from sympy.utilities.iterables import any
This is perhaps a "tutur" sort of question, but it applies directly to
sympy and I thought I'd ask here first.
/c