• Gregory P. Smith's avatar
    Fix a bug introduced in r62627. see issue2760 and issue2632. · 24237ea8
    Gregory P. Smith yazdı
    An assertion in readline() would fail as data was already in the
    internal buffer even though the socket was in unbuffered read mode.
    That case is now handled.  More importantly, read() has been fixed to
    not over-recv() and leave newly recv()d data in the _fileobject buffer.
    
    The max() vs min() issue in read() is now gone.  Neither was correct.
    On bounded reads, always ask recv() for the exact amount of data we
    still need.
    
    Candidate for backporting to release25-maint along with r62627.
    24237ea8
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...
.bzrignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README 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...