[Twisted-Python] Returning a Deferred as a result from another Deferred

Jonathan Lange jml at mumak.net
Fri Oct 5 19:41:22 MDT 2007


On 10/6/07, Ryan Fugger <rfugger at gmail.com> wrote:
> Returning a Deferred as a result from another Deferred seems to be
> disallowed by an assertion at the start of the callback chain.  Why is
> this?  Right now I have worked around this limitation by wrapping my
> Deferred in a list and then unwrapping it in the callback.
>

No it's not. I can guarantee this.

What's the content of the AssertionError that you are getting?

jml




More information about the Twisted-Python mailing list