Comment #1 on issue 2073 by smichr: limit() throws TypeError: an integer is
required
http://code.google.com/p/sympy/issues/detail?id=2073
I was running into a similar problem in branch 2003 as I was working with
large numbers. I believe it is related to the limit on xrange taking an
integer:
h[1] >>> xrange(2**30)
xrange(1073741824)
h[1] >>> xrange(2**31)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: long int too large to convert to int
The solution (at the shallow level) is to use a while loop rather than an
xrange. Now why it was generating such a large number in the loop is
another (deeper) issue.
--
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.