Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Composed def leads to infinite recursion #186
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
When I have a chance, I'll see if I can come up with a patch.
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
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!