[Twisted-Python] internet.stdio

Paul Boehm typo at soniq.net
Mon Dec 9 12:16:25 EST 2002


hi,

i'm having a little trouble with twisted.internet.stdio:
because stdio.StandardIO does fdesc.setNonBlocking(self.fileno())
writes to stdout fail with EAGAIN.

possible fixes:
 make stdio blocking, maybe wrapped with a select and retry attempts.

 catch IOError/EAGAIN and retry a little later

thanks,
  paul




More information about the Twisted-Python mailing list