Message158149
> 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) |
|
Date |
User |
Action |
Args |
2012-04-12 16:31:50 | pitrou | set | recipients:
+ pitrou, loewis, terry.reedy, kbk, gregorlingl, dino.viehland, r.david.murray, asvetlov, flupke, Peter.Wentworth, Emmanuel.Decitre |
2012-04-12 16:31:50 | pitrou | link | issue6717 messages |
2012-04-12 16:31:49 | pitrou | create | |
|