
June 10, 2002
7:06 a.m.
On Mon, Jun 10, 2002 at 12:29:32AM +0200, Itamar Shtull-Trauring wrote:
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)
This breaks currently. You can't add a callback to an already armed deferred.
d.addCallback(g)
No? In new system, would g() get result of f()?
Yes, assuming what Glyph told me on IRC is true :) -Andrew.