Ticket #2371 defect closed fixed
twisted.conch.stdio.runWithProtocol writes to non-blocking file descriptor incorrectly
|Reported by:||exarkun||Owned by:|
At this line:
0 is in non-blocking mode. This means the write may fail or be incomplete. The return value must be checked or the file descriptor should be set to be blocking.
This may be related to #2123. Or it may not be. Whether the file descriptor is in blocking mode or non-blocking mode, the write succeeds completely for that test; however, when it is in blocking mode, I have not seen the test fail, whereas when it is in non-blocking mode it fails at least 1 time in 10 when run on a heavily loaded OS X machine.