Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
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
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
Parser
Python
Tools
.hgtags -rw-r--r-- 904 bytes
BUGS -rw-r--r-- 11.6 KB
Makefile.in -rw-r--r-- 15.1 KB
README -rw-r--r-- 29.5 KB
acconfig.h -rw-r--r-- 2.7 KB
config.h.in -rw-r--r-- 9.6 KB
configure -rwxr-xr-x 109.4 KB
configure.in -rw-r--r-- 15.9 KB
install-sh -rwxr-xr-x 2.1 KB

README

back to top