Is it safe to change Python recursion limit

23 views
Skip to first unread message

Afif Khaja

unread,
May 12, 2013, 7:29:00 AM5/12/13
to MCS 260 Google group
Hi,
I think I have to increase python's recursion limit. How much is it safe to increase it to?
 
import sys
sys.setrecursionlimit(n)
 
Afif

Paul Kim

unread,
May 12, 2013, 11:32:04 AM5/12/13
to Afif Khaja, MCS 260 Google group

yeah you have to. I think to like 20000000

--
You received this message because you are subscribed to the Google Groups "uic-mcs260-s13" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uic-mcs260-s1...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jeremy Kun

unread,
May 12, 2013, 1:05:05 PM5/12/13
to Paul Kim, Afif Khaja, MCS 260 Google group
This is a bad thing to do in life, but you need to do it for the project.

Jeremy Kun
Mathematics Graduate Student
University of Illinois at Chicago

Afif Khaja

unread,
May 12, 2013, 1:22:32 PM5/12/13
to MCS 260 Google group
lol
Reply all
Reply to author
Forward
0 new messages