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

2011-06-05 Thread Gregory P. Smith
New submission from Gregory P. Smith g...@krypto.org: 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()

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

2011-06-05 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org 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