[issue12268] file readline & readlines methods can lose data on EINTR

2011-06-05 Thread Gregory P. Smith
Gregory P. Smith added the comment: 3.x has the same issue. unittest & patch forthcoming that addresses that as well. 2.6 also has the issue but it is in security fix only mode so I won't backport to that. -- versions: +Python 3.1, Python 3.2, Python 3.3 ___

[issue12268] file readline & readlines methods can lose data on EINTR

2011-06-05 Thread Gregory P. Smith
New submission from Gregory P. Smith : The file object readline() and readlines() methods can lose data when an underlying read system call is interrupted. They will abort with an IOError in this case but any incomplete line data they have read will be discarded. readline() and readlines() sh