[Twisted-Python] Strange recursion error with twisted.web
Peter Westlake
peter.westlake at pobox.com
Wed Mar 17 08:08:54 MDT 2021
On Wed, 17 Mar 2021, at 02:50, Glyph wrote:
>
>> Excellent, thank you!
>>
>> I think I understand how it works, but one thing puzzles me: how does the queue in the jump() function ever get longer than one element? Is it because it might contain a recursive call, which is activated by the unpause()?
>
> This was actually a really insightful review - after thinking about it for a moment, I realized that the *actual* trampoline was already in twisted.internet.defer._inlineCallbacks, and this function was totally useless complexity! Thank you!
Glad to be of service :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20210317/0b9c9c96/attachment.htm>
More information about the Twisted-Python
mailing list