Staging
v0.5.1
https://github.com/python/cpython
Revision 24237ea8a128d145d00397bd79eba06db471bcdb authored by Gregory P. Smith on 05 May 2008, 21:53:45 UTC, committed by Gregory P. Smith on 05 May 2008, 21:53:45 UTC
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.
1 parent 98fd036
History
Tip revision: 24237ea8a128d145d00397bd79eba06db471bcdb authored by Gregory P. Smith on 05 May 2008, 21:53:45 UTC
Fix a bug introduced in r62627. see issue2760 and issue2632.
Tip revision: 24237ea
File Mode Size
_bsddb.vcproj -rw-r--r-- 9.3 KB
_bsddb44.vcproj -rw-r--r-- 23.8 KB
_ctypes.vcproj -rw-r--r-- 13.1 KB
_ctypes_test.vcproj -rw-r--r-- 8.3 KB
_elementtree.vcproj -rw-r--r-- 11.4 KB
_hashlib.vcproj -rw-r--r-- 10.6 KB
_msi.vcproj -rw-r--r-- 8.8 KB
_socket.vcproj -rw-r--r-- 8.8 KB
_sqlite3.vcproj -rw-r--r-- 10.7 KB
_ssl.vcproj -rw-r--r-- 10.6 KB
_testcapi.vcproj -rw-r--r-- 8.4 KB
_tkinter.vcproj -rw-r--r-- 9.3 KB
bdist_wininst.vcproj -rw-r--r-- 6.1 KB
build.bat -rw-r--r-- 488 bytes
build_env.bat -rw-r--r-- 25 bytes
build_pgo.bat -rw-r--r-- 1.1 KB
build_ssl.bat -rw-r--r-- 253 bytes
build_ssl.py -rw-r--r-- 9.2 KB
build_tkinter.py -rw-r--r-- 2.2 KB
bz2.vcproj -rw-r--r-- 11.9 KB
debug.vsprops -rw-r--r-- 310 bytes
env.bat -rw-r--r-- 163 bytes
field3.py -rw-r--r-- 974 bytes
idle.bat -rw-r--r-- 284 bytes
installer.bmp -rw-r--r-- 57.4 KB
kill_python.c -rw-r--r-- 5.7 KB
kill_python.vcproj -rw-r--r-- 4.8 KB
make_buildinfo.c -rw-r--r-- 2.9 KB
make_buildinfo.vcproj -rw-r--r-- 2.8 KB
make_versioninfo.vcproj -rw-r--r-- 6.8 KB
pcbuild.sln -rw-r--r-- 40.1 KB
pginstrument.vsprops -rw-r--r-- 921 bytes
pgupdate.vsprops -rw-r--r-- 379 bytes
pyd.vsprops -rw-r--r-- 565 bytes
pyd_d.vsprops -rw-r--r-- 747 bytes
pyexpat.vcproj -rw-r--r-- 10.0 KB
pyproject.vsprops -rw-r--r-- 2.2 KB
python.vcproj -rw-r--r-- 12.0 KB
pythoncore.vcproj -rw-r--r-- 33.4 KB
pythonw.vcproj -rw-r--r-- 11.3 KB
readme.txt -rw-r--r-- 14.7 KB
release.vsprops -rw-r--r-- 311 bytes
rmpyc.py -rw-r--r-- 598 bytes
rt.bat -rw-r--r-- 1.8 KB
select.vcproj -rw-r--r-- 9.0 KB
sqlite3.vcproj -rw-r--r-- 13.3 KB
unicodedata.vcproj -rw-r--r-- 8.6 KB
vs9to8.py -rw-r--r-- 1.1 KB
w9xpopen.vcproj -rw-r--r-- 10.0 KB
winsound.vcproj -rw-r--r-- 8.6 KB
x64.vsprops -rw-r--r-- 537 bytes

readme.txt

back to top