Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Integer polynomial factorization and RecursionError

Hi all,

I use sage to factorize integer polynomials, sometimes with very large coefficients. But when the polynomial is too large (for example a degree 3885), I get the following error

RecursionError: maximum recursion depth exceeded during compilation

I have tried to set a higher recursion limit through, e.g.

sys.setrecursionlimit(10000)

But I still get the same error. The script file is also large (more than 7Mb) and the sage.py file is even larger (22Mb).

Thanks for your help.