]> granicus.if.org Git - python/commit
Another refactoring of read() and readline(), this time based on the
authorGuido van Rossum <guido@python.org>
Thu, 8 Aug 2002 17:16:09 +0000 (17:16 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 8 Aug 2002 17:16:09 +0000 (17:16 +0000)
commitfb3deec2fc81a4bf7e16ddbaa8271005524ab1b0
treeb6134f5996ac0be48abd9433f5db5ffee8e6dcd5
parentde7cadec54f6c67f65c35df8b5df5233ab9eb97c
Another refactoring of read() and readline(), this time based on the
observation that _rbuf could never have more than one string in it.
So make _rbuf a string.  The code branches for size<0 and size>=0
are completely separate now, both in read() and in readline().

I checked for tabs this time. :-)
Lib/socket.py