[Twisted-Python] Can pipes be used in non-blocking mode?

Glyph Lefkowitz glyph at twistedmatrix.com
Fri Oct 5 15:24:40 MDT 2001


On Friday, October 5, 2001, at 02:49  PM, Matt Campbell wrote:

> I noticed that twisted.internet.process currently uses pipes in blocking
> mode.  In particular, when ProcessWriter calls os.write(), it blocks.
> Can writing be done in non-blocking mode instead?  Thanks.
> --
> Matt Campbell <http://www.pobox.com/~mattcampbell/>

Sorry, slight oversight!  I don't think there's a reason that they 
block; if it doesn't break anything I'll fix that in 0.11 (any day 
now...)

--
______      you are in a maze of twisted little applications, all
|   |_\     remarkably consistent.
|     |          -- glyph lefkowitz, glyph @ twisted matrix . com
|_____|             http://www.twistedmatrix.com/





More information about the Twisted-Python mailing list