Raymond Hettinger added the comment:

> Isn't it exactly what Py_EnterRecursiveCall does?

No, it isn't.  Py_EnterRecursiveCall() counts calls and measures depth.  It is 
sprinked all over the source code, everywhere a potentially recursive call 
could be made.  

Instead, it would be nice if the interpreter could monitor the actual stack 
size and take appropriate actions when it is running low on space.  The would 
save us from putting in expensive fine grained checks throughout the source 
code.

----------

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

Reply via email to