summaryrefslogtreecommitdiffstats
path: root/Demo/rpc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-01-27 19:29:45 (GMT)
committerGuido van Rossum <guido@python.org>1998-01-27 19:29:45 (GMT)
commitb16a3b84509f6f66f60bb3c7521b2bee70ac1b1c (patch)
tree4db1fab31922818ce355b65b01cdbd80a42e1d35 /Demo/rpc
parent7570669a0838e5b1ae868774f35105107fa1992b (diff)
downloadcpython-b16a3b84509f6f66f60bb3c7521b2bee70ac1b1c.zip
cpython-b16a3b84509f6f66f60bb3c7521b2bee70ac1b1c.tar.gz
cpython-b16a3b84509f6f66f60bb3c7521b2bee70ac1b1c.tar.bz2
(This fix is really by Jeremy)
Here's my suggested replacement for gzip.py for 1.5.1. I've re-implemeted methods readline and readlines, added an _unread, and tweaked read and _read. I tried a more complicated buffer scheme for unread (using a list of strings and string.join), but it was more complicated and slower. This version is a lot faster than the current version and is still pretty simple.
Diffstat (limited to 'Demo/rpc')
0 files changed, 0 insertions, 0 deletions