Comment #8 on issue 2406 by asmeurer: improve Tuple constructor
http://code.google.com/p/sympy/issues/detail?id=2406
I see.
Well, I still think that Tuple should act like it does now, and that we
should create some conversion function to convert iterables to Tuples
(sympify() would call this in the fix to comment 5).
Why don't we create fromiter() and keep both syntaxes, noting that fromiter
is more efficient in some corner cases, like Mul.fromiter((nan, stuff,
stuff, stuff, …)).
Renato, can you create a pull request for your patch from comment 3? I'm
sure there's a way to get around the import problem. There's a handful of
tricks for making circular imports work in the core. Using C.Class,
importing at the bottom of a file, and importing within a function/method
are three that I know off the top of my head.
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.