Mark Dickinson added the comment: > You may have to enlarge the C stack
The following might work (e.g., in bash shell) ulimit -s 60000 Here the count is in KiB, so that's setting a stack size of about 58.6 MiB. There appears to be a system-wide limit of close to 64 MiB, so pushing past that could be hard. Regardless, this isn't really a Python bug: the recursion limit is a safeguard that's there precisely to stop you from running into a hard crash. If you remove that safeguard (especially without increasing your process stack size), you shouldn't be surprised to get a crash. As Victor says, you probably need to rework your algorithm. Suggest closing as "wont fix". ---------- nosy: +mark.dickinson _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25323> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com