[Twisted-Python] Arms Crisis
Itamar Shtull-Trauring
twisted at itamarst.org
Sun Jun 9 18:29:32 EDT 2002
Paul Swartz wrote:
> On 7 May 2002 at 1:31, Glyph Lefkowitz wrote:
>> I'd like some feedback on this, though. Does anyone else think that
>> callbacks sometimes happening and sometimes not when .addCallbacks() is
>> called makes a difference? Anyone feel strongly that .arm() is
>> confusing and unnecessary?
MM, wouldn't it changes the way thing work?
d = Deferred().callback(1)
d.addCallback(f)
d.addCallback(g)
d.arm()
is not the same as what the new version would do:
d = Deferred().callback(1)
d.arm() # for emulating behaviour in current system
d.addCallback(f)
d.addCallback(g)
No? In new system, would g() get result of f()?
More information about the Twisted-Python
mailing list