Comment #35 on issue 1026 by asmeurer: pypy doesn't run sympy
http://code.google.com/p/sympy/issues/detail?id=1026
Right.
Python:
from sympy import Integer
a = range(10)
a.pop(Integer(0))
0
PyPy:
from sympy import Integer
a = range(10)
a.pop(Integer(0))
Traceback (most recent call last):
File "<console>", line 1, in <module>
TypeError: expected integer, got Zero object
This might be considered a bug in PyPy. You should ask on their list or
submit a bug in their tracker about it. By the way, neither allow
a.pop(0.5). I think Python must special case not allowing floats, since
a.pop(Float('0.5')) works.
--
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.