[Twisted-Python] Timing problem with PB Broker's connectionReady

Alan Franzoni alan.franzoni.xyz at gmail.com
Sat Nov 17 12:20:59 EST 2007

On Nov 14, 2007 10:22 PM, Jean-Paul Calderone <exarkun at divmod.com> wrote:
> You can't, as PB is currently implemented.  I'm not sure you really need
> this, though.  Can you describe the difficulty you've had writing unit
> tests?

Hello, thanks for replying. Maybe it was me who misunderstood the way PB worked.

My biggest problem at this time is that I don't seem to be able to
create a proper workflow for my PB-based app.

It happens that connectionLost *can* be called on my factory when
connectionReady *has not been called yet* (mostly if something bad
happened during the handshake). I wouldn't have ever expected such a

I will work around this BTW. Thanks!
Alan Franzoni <alan.franzoni.xyz at gmail.com>
Togli .xyz dalla mia email per contattarmi.
Remove .xyz from my address in order to contact me.
GPG Key Fingerprint (Key ID = FE068F3E):
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E

More information about the Twisted-Python mailing list