Message186158
> 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. |
|
Date |
User |
Action |
Args |
2013-04-06 19:54:30 | rhettinger | set | recipients:
+ rhettinger, arigo, amaury.forgeotdarc, benjamin.peterson, ezio.melotti, alex, python-dev, serhiy.storchaka |
2013-04-06 19:54:30 | rhettinger | set | messageid: <1365278070.17.0.719015007473.issue14010@psf.upfronthosting.co.za> |
2013-04-06 19:54:30 | rhettinger | link | issue14010 messages |
2013-04-06 19:54:30 | rhettinger | create | |
|