[Twisted-Python] transport.write clarification

Itamar Shtull-Trauring itamar at itamarst.org
Sat Jul 31 17:01:18 EDT 2004


On Sat, 2004-07-31 at 15:55, George Schlossnagle wrote:

> My question is: does write() make a non-blocking write, and if so does 
> it reschedule itself later on automatically?  Does it block?  What is 
> the preferred way of handling this?

It doesn't block, and if it can't write it buffers for you. You just
don't have to worry about it.

-- 
Itamar Shtull-Trauring    http://itamarst.org






More information about the Twisted-Python mailing list