pty difficulties

Josiah Carlson jcarlson at nospam.uci.edu
Sat Jan 24 20:39:40 CET 2004


> I don't think checking for writeable status /should/ help because the
> write call I am using blocks.  So, if the stream isn't writeable, it
> should just block until it is.  I think.

Hrm.  Perhaps you should just leave the sleep in there.  One second 
seems a bit much, but maybe .01 or .001 seconds is sufficient.  You 
could reasonably still get 100K-1M/second.  One would hope that would be 
enough for most tasks.

  - Josiah



More information about the Python-list mailing list