[Twisted-Python] Testing with trial, adbapi questions

Brendon Colby brendoncolby at gmail.com
Mon Jun 25 16:40:00 EDT 2007


On 6/25/07, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> I just want to point out that neither deferredGenerator nor inlineCallbacks
> does anything _new_ - they only provide an alternate API for defining
> callbacks and errbacks (an API that lets you use code inline within a
> single function without defining new functions).  If your code doesn't
> execute in the right order without deferredGenerator, it won't execute
> in the right order with deferredGenerator either.

Yep - I meant that I could definitely use this in my code, but not
specifically to fix my unittest issues, which I haven't corrected yet.

Brendon




More information about the Twisted-Python mailing list