Message 186158 - Python tracker

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Content
> 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.