Comment #22 on issue 2125 by [email protected]: Using Integers as
python slices.
http://code.google.com/p/sympy/issues/detail?id=2125
One remark more:
In current master:
In [2]: S(2)*[1,1]
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/home/nicolas/Programmation/sympy/<ipython console> in <module>()
TypeError: can't multiply sequence by non-int of type 'Integer'
So, for now, S(2)*[1,1] is not allowed at all, and adding
Integer.__index__() won't break anything.
One may still discuss issue 1838 later.
--
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.