Composed def leads to infinite recursion #186
Comments
Anonymous wrote: Here's a patch. (I'm not positive this is the right fix.) |
Michael Bayer (@zzzeek) wrote: I think it's the right fix (though granted this is really brain twisting code I could barely understand even when I was writing it), as what we're looking for with _get_caller() is what we pushed on with _push_frame(). I've consolidated in 936a524 so that _push_frame() just returns the value into |
Changes by Michael Bayer (@zzzeek):
|
Anonymous wrote: Replying to [comment:2 zzzeek]:
Good — it is two to zero for, then! (I'm glad to hear that you are human too :-)
Looks good. Thank you! |
Migrated issue, originally created by Anonymous
Okay, this time I'm almost positive this counts as a bug, as opposed to me doing something wierd.
This leads to a
RuntimeError: maximum recursion depth exceeded
.When I have a chance, I'll see if I can come up with a patch.
Attachments: ticket186.patch
The text was updated successfully, but these errors were encountered: