Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3065 by smi...@gmail.com: int(1+2*I) gives infinite recursion
http://code.google.com/p/sympy/issues/detail?id=3065
A test must be made in round to catch the case where a number (complex) is
requested to be rounded. Not all numbers are real; a test for is_real is
made once an expression passes the is_number test and the same error as is
raised by Python for int(1+2j) is raised:
TypeError: can't convert complex to int
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.