Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Related older issue : issue1110055

https://docs.python.org/3/library/sys.html#sys.setrecursionlimit

> The highest possible limit is platform-dependent. A user may need to set the 
> limit higher when they have a program that requires deep recursion and a 
> platform that supports a higher limit. This should be done with care, because 
> a too-high limit can lead to a crash.

I think this is a known case where the stack limit is hit depending on the 
operating system before RecursionError can be raised when a higher recursion 
limit is set. On my machine (Mac 10.10.4) this segfaults on 2.7 but raises 
RecurstionError on Python 3.7.1. Increasing the limit to 200000 causes segfault 
on 3.7.1.

----------
nosy: +xtreak

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35542>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to