Async programming aside, this mode of chaining multiple methods doesn't sit well with me:
def A() # .. do stuff B() def B() # .. do stuff C() I think it'd be more idiomatic to have a controlling method that indicates the chaning: def do_stuffs(): A() B() C() D() D() D() Now, translating that to async programming with inline callbacks is easy: @defer.inlineCallbacks def do_stuffs() yield A() yield B() yield C() yield D() yield D() yield D() Dustin _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python