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

Gregory P. Smith report at bugs.python.org
Mon Jun 6 09:35:10 CEST 2011


Gregory P. Smith <greg at krypto.org> added the comment:

I haven't looked beyond the reading methods it is possible that some of the write implementations have a similar issue.  Patch gps02 for 3.2 attached.

I'll use that as the basis for a stand alone test_file_eintr.py targeted at 2.7.

----------
Added file: http://bugs.python.org/file22262/test_and_fix_readers_3.2-gps02.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12268>
_______________________________________


More information about the Python-bugs-list mailing list