]> granicus.if.org Git - python/commit
Fixes issue #12268: File readline, readlines and read() or readall() methods
authorGregory P. Smith <greg@krypto.org>
Sun, 24 Jun 2012 06:55:39 +0000 (23:55 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 24 Jun 2012 06:55:39 +0000 (23:55 -0700)
commit5135992164f4c0df8d18d3b486431b28214db16b
tree7bc3060d22ad740bf2bf795caae1c6a46232f6e7
parent8150492f11f17e2a09f7deb7af706536bc326c98
Fixes issue #12268: File readline, readlines and read() or readall() methods
no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR
from within these methods.
Lib/test/test_file_eintr.py [new file with mode: 0644]
Misc/NEWS
Modules/_io/_iomodule.h
Modules/_io/bufferedio.c
Modules/_io/fileio.c
Modules/_io/iobase.c
Modules/_io/textio.c