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.

Author loewis
Recipients georg.brandl, ggenellina, loewis, pitrou
Date 2009-03-01.19:47:33
SpamBayes Score 1.3176845e-08
Marked as misclassified No
Message-id <[email protected]>
In-reply-to <1235925919.13427.3.camel@fsol>
Content
> The fact it fails only the second time is by design, although I'm not
> sure the design is useful, and it's probably not documented anywhere.

It helped me debug a number of interpreter crashes in 3.0. When a stack
overflow occurred, in certain cases, the interpreter would catch the
exception, and consider it as failure in the callback it tried to invoke
(e.g. when invoking __eq__ during dictionary lookups). Rather than
letting the stack unwind, it would continue to let the stack overflow,
and eventually managed to crash the entire process. The recovery check
is there to detect that, after a stack overflow, it really unwound a
sufficient number of stack frames, rather than overflowing again and
again.
History
Date User Action Args
2009-03-01 19:47:37loewissetrecipients: + loewis, georg.brandl, ggenellina, pitrou
2009-03-01 19:47:33loewislinkissue5392 messages
2009-03-01 19:47:33loewiscreate