Staging
v0.5.1
Revision 41b9f00e8f314825a23f635308158cc1488b5c86 authored by Jeremy Hylton on 13 August 1997, 23:19:55 UTC, committed by Jeremy Hylton on 13 August 1997, 23:19:55 UTC
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.
1 parent 4036c9c
History
File Mode Size
Makefile.in -rw-r--r-- 2.0 KB
acceler.c -rw-r--r-- 4.7 KB
assert.h -rw-r--r-- 1.9 KB
bitset.c -rw-r--r-- 2.4 KB
firstsets.c -rw-r--r-- 3.6 KB
grammar.c -rw-r--r-- 5.9 KB
grammar1.c -rw-r--r-- 2.5 KB
intrcheck.c -rw-r--r-- 4.4 KB
listnode.c -rw-r--r-- 2.5 KB
metagrammar.c -rw-r--r-- 3.6 KB
myreadline.c -rw-r--r-- 4.1 KB
node.c -rw-r--r-- 2.7 KB
parser.c -rw-r--r-- 9.6 KB
parser.h -rw-r--r-- 2.4 KB
parsetok.c -rw-r--r-- 4.5 KB
pgen.c -rw-r--r-- 16.1 KB
pgen.h -rw-r--r-- 1.7 KB
pgenmain.c -rw-r--r-- 4.7 KB
printgrammar.c -rw-r--r-- 4.0 KB
tokenizer.c -rw-r--r-- 16.1 KB
tokenizer.h -rw-r--r-- 3.0 KB

back to top