Re: [Twisted-Python] Multiple callbacks

2012-01-25 Thread Laurens Van Houtven
Note that that's just pythons late binding semantics, nothing twistedy going on here :) On Jan 25, 2012 2:24 PM, "Аркадий Левин" wrote: > Hi, you need add "grid" to lambda arguments, > > f = lambda _, grip=grip:self.gotDataBin(_, grid) > > On Wed, Jan 25, 2012 at 6:04 PM, Tech Aficionado1743 > w

Re: [Twisted-Python] Multiple callbacks

2012-01-25 Thread Аркадий Левин
Hi, you need add "grid" to lambda arguments, f = lambda _, grip=grip:self.gotDataBin(_, grid) On Wed, Jan 25, 2012 at 6:04 PM, Tech Aficionado1743 wrote: > Hello, can anyone help ? > i can't understand why, in the piece of code below (S1), > the parameter (grid) passed to the callback is the sam