summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>1997-08-13 23:19:55 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>1997-08-13 23:19:55 (GMT)
commit41b9f00e8f314825a23f635308158cc1488b5c86 (patch)
tree4b2aedd3f781b0e3c24da9eb70c88f1ff5709d54 /Tools/freeze
parent4036c9c2a187107d549fcf1bb96ca0511f0cf230 (diff)
downloadcpython-41b9f00e8f314825a23f635308158cc1488b5c86.zip
cpython-41b9f00e8f314825a23f635308158cc1488b5c86.tar.gz
cpython-41b9f00e8f314825a23f635308158cc1488b5c86.tar.bz2
Many changes.
Change default alloc size for uncompressing to 16K. Remove comment about core dumps when an invalid window sizes is used. This bug has been fixed in zlib 1.0.4. Two new optional arguments to decompress, wbits and bufsize. wbits specifies the window size and bufsize specifies the initial output string size. In decompression code -- decompress and decompressobj methods -- use a Python string (and _PyString_Resize) to collect the uncompressed stream. Replaces a separate buffer that was copied into a string. Fix bug in decompress that caused it to always realloc the buffer when it was finished decompressing. Modernized handling of optional arguments to compressobj. Updated doc strings.
Diffstat (limited to 'Tools/freeze')
0 files changed, 0 insertions, 0 deletions