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 pitrou
Recipients Emmanuel.Decitre, Peter.Wentworth, asvetlov, dino.viehland, flupke, gregorlingl, kbk, loewis, pitrou, r.david.murray, terry.reedy
Date 2012-04-12.16:31:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334248262.3343.12.camel@localhost.localdomain>
In-reply-to <1334247916.85.0.267497352776.issue6717@psf.upfronthosting.co.za>
Content
> It's catching the exception when it invokes x, but the recursion
> enforcement should happen at a method prolog, including at the
> invocation of g.  Therefore if we're at or beyond the recursion limit
> when invoking the trace handler the limits should still be enforced
> and that should be the same as the trace handler raising.

That's where 3.x is different: 3.x temporarily bumps up the recursion
limit a bit when it is first reached, in order to let various cleanup
handlers run as intended. This is a nice thing in the general case, but
means it can degenerate in more involved or desperate cases.

(although here it's not clear to me why a second recursion error occurs
after the first one)
History
Date User Action Args
2012-04-12 16:31:50pitrousetrecipients: + pitrou, loewis, terry.reedy, kbk, gregorlingl, dino.viehland, r.david.murray, asvetlov, flupke, Peter.Wentworth, Emmanuel.Decitre
2012-04-12 16:31:50pitroulinkissue6717 messages
2012-04-12 16:31:49pitroucreate