Re: [Twisted-Python] Sporadic GeneratorExit when using deferredGenerator

2010-05-10 Thread Glyph Lefkowitz
On May 10, 2010, at 8:04 PM, CARSON DEAN FENIMORE wrote: > I receive a GeneratorExit occasionally when using Twisted. Has anyone > noticed this problem? t I am on python 2.5 - as I understand it, > GeneratorExit derives from StandardError in 2.5, and BaseException in > 2.6. The real problem in

[Twisted-Python] Sporadic GeneratorExit when using deferredGenerator

2010-05-10 Thread CARSON DEAN FENIMORE
I receive a GeneratorExit occasionally when using Twisted. Has anyone noticed this problem? t I am on python 2.5 - as I understand it, GeneratorExit derives from StandardError in 2.5, and BaseException in 2.6. The real problem in my code appears to be that the reference to my generator itself is

Re: [Twisted-Python] deferreds and unpacking binary data

2010-05-10 Thread Glyph Lefkowitz
On May 10, 2010, at 1:01 PM, Xtroce wrote: > Question: A Protocol should unpack some binary data. this is done in > seperate calls to struct.unpack . Inbetween i do some checks for > length, some strings returned are concatenated using join and logs are > written. This all happens in the factory

[Twisted-Python] deferreds and unpacking binary data

2010-05-10 Thread Xtroce
Question: A Protocol should unpack some binary data. this is done in seperate calls to struct.unpack . Inbetween i do some checks for length, some strings returned are concatenated using join and logs are written. This all happens in the factory of the Protocol. To keep the code unblocking would it