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

2009-08-07 Thread Rhett Garber

Rhett Garber rhe...@gmail.com 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 complexity of dealing with the system call.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1628205
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-08-02 Thread Rhett Garber

Rhett Garber rhe...@gmail.com 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/diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1628205
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com