Comment #2 on issue 3401 by [email protected]: Slicing an empty matrix is broken
http://code.google.com/p/sympy/issues/detail?id=3401

class foo():
...  def __getitem__(s,i):
...   print i
...
foo()[:]
slice(0, 2147483647, None)

It looks like __getitem__ should be giving sys.maxint(?) for the upper range rather than 0. I don't have time to look at it more deeply, but maybe that will get you started.

--
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