Comment #3 on issue 2406 by [email protected]: improve Tuple constructor
http://code.google.com/p/sympy/issues/detail?id=2406

I implemented the sympification of the args in

https://github.com/renatocoutinho/sympy/commit/a7db82ff88baab2b21768d5cfa652eb69b998702

I had to do it in Tuple.__new__, because messing with Basic.__new__ was making sympy unimportable. I even tried to sympify args inside a try: block and it didn't work either.

I'm not sure about from_iter -- you suggest to include it in Basic instead of Tuple, and I don't understand why (are there other containers derived from Basic?). Also, numpy uses "fromiter" without _, perhaps this would feel better for people used to it.

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

Reply via email to