]> granicus.if.org Git - python/commit
Backport r62627 + r62744 from trunk to fix issue 2632.
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 6 Jul 2008 04:04:07 +0000 (04:04 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 6 Jul 2008 04:04:07 +0000 (04:04 +0000)
commitf8f30fad4dfdad4a655942963c1e5fc3ae0d9cfb
tree529267ed2e72f1813b52c404b0e88895e26613b0
parent6d7f9375a5181925f561720cdbce0a618a57606a
Backport r62627 + r62744 from trunk to fix issue 2632.
- Issue #2632: Prevent socket.read(bignumber) from over allocating memory
  in the common case when the data is returned from the underlying socket
  in increments much smaller than bignumber.
Lib/socket.py
Lib/test/test_socket.py
Misc/NEWS