Comment #22 on issue 2125 by nicolas....@gmail.com: 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-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en.

Reply via email to