summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-04-04 21:38:47 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2005-04-04 21:38:47 (GMT)
commit7a6dc139de385efaa70c43cc9a915239dbfeea1e (patch)
tree89604210eb63ce7f69954a00e1789a07f364f94f /configure.in
parentcf18a5d67bc791f7273b7577797f04470e01e42e (diff)
downloadcpython-7a6dc139de385efaa70c43cc9a915239dbfeea1e.zip
cpython-7a6dc139de385efaa70c43cc9a915239dbfeea1e.tar.gz
cpython-7a6dc139de385efaa70c43cc9a915239dbfeea1e.tar.bz2
Fix for SF bug #1175396: readline() will now read one more character, if
the last character read is "\r" (and size is None, i.e. we're allowed to call read() multiple times), so that we can return the correct line ending (this additional character might be a "\n"). If the stream is temporarily exhausted, we might return the wrong line ending (if the last character read is "\r" and the next one (after the byte stream provides more data) is "\n", but at least the atcr member ensure that we get the correct number of lines (i.e. this "\n" will not be treated as another line ending.)
Diffstat (limited to 'configure.in')
0 files changed, 0 insertions, 0 deletions