Message158343
| Author |
pitrou |
| Recipients |
ezio.melotti, kristjan.jonsson, meador.inge, pitrou, progrper, rhettinger, terry.reedy |
| Date |
2012年04月15日.17:07:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334509616.3414.6.camel@localhost.localdomain> |
| In-reply-to |
<1334508463.42.0.863490989266.issue14507@psf.upfronthosting.co.za> |
| Content |
> 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. |
|