Comment #5 on issue 3223 by asmeu...@gmail.com: degree((x+1)**10000) takes too long
http://code.google.com/p/sympy/issues/detail?id=3223
I think the point was that as_leading_term already works recursively (you might double check that though). So you just need to combine as_leading_term and is_polynomial. And yes, the issue is to rewrite that function.
-- 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.