STINNER Victor added the comment:

Would it be possible to compute the recursion limit depending on the current 
maximum C stack size? At least estimate it? I guess the sys.getdefaultlimit() 
is 1000 is an arbitrary value. I also know that the effective limit depends on 
the memory allocated on the stack by C functions. Calling a Python function and 
a function implemented in C is different :-/

----------
nosy: +haypo

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

Reply via email to