[New-bugs-announce] [issue1175] .readline() has bug WRT nonblocking files

Alex Burr report at bugs.python.org
Tue Sep 18 12:37:34 CEST 2007


New submission from Alex Burr:

If you have made a file nonblocking using fcntl.fcntl, .readline() will
discard  the start of a line if you get EGAIN. It should attach the
partial line to the exception somehow - or at least warn the user.

I observe this on 2.3.5, but the same code exists in TRUNK

----------
components: Interpreter Core
messages: 55993
nosy: ajb
severity: normal
status: open
title: .readline() has bug WRT nonblocking files
type: behavior
versions: Python 2.3

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1175>
__________________________________


More information about the New-bugs-announce mailing list