• Walter Dörwald's avatar
    Fix for SF bug #1175396: readline() will now read one more character, if · 7a6dc139
    Walter Dörwald yazdı
    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.)
    7a6dc139
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...