Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14507> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com