[issue14507] Segfault with deeply nested starmap calls
Antoine Pitrou
report at bugs.python.org
Sun Apr 15 19:07:51 CEST 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
> The existing sys.max_recursion_depth was put in as a defense against
> the relatively common mistake of users writing a recursive function
> and getting the termination code wrong. I don't think that logic
> would apply to intentionally deeply nested data structures or
> iterators.
Well, we have a history of trying to fix crashers, even when they only
occur in weird cases.
> Stackoverflows in C are hard to protect against.
We could simply re-use the existing infrastructure.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14507>
_______________________________________
More information about the Python-bugs-list
mailing list