[issue1628205] socket.readline() interface doesn't handle EINTR properly

2009-08-07 Thread Rhett Garber
Rhett Garber added the comment: Good addition Gregory. Totally agree on handling EINTR in even more cases. You can't really expect the caller to know they need to deal with this sort of thing when using these higher level call. The whole point is the abstract away some of the complexi

[issue1628205] socket.readline() interface doesn't handle EINTR properly

2009-08-02 Thread Rhett Garber
Rhett Garber added the comment: I've hit this issue as well. Attached is an updated patch to 2.6 branch and a test case. I wrote up more details here: http://nullhole.com/2009/08/02/anatomy-of-a-regression-test/ -- nosy: +rhettg Added file: http://bugs.python.org/file14634