消息 [51659]
loewis: I think your idea is the right answer. I'm not worried about select/poll. Surely no one uses select/poll and socket._fileobject.readline() on the same socket. select/poll are for nonblocking sockets; this readline() method doesn't even catch EWOULDBLOCK.
...In fact even if you did use select/poll on the (blocking) socket after readline() threw EINTR--which no one should do--I think it would still work just as expected unless you were doing something truly weird. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2007-08-23 15:56:00 | admin | 链接 | issue1628205 messages |
| 2007-08-23 15:56:00 | admin | 创建 | |
|