[issue19278] zlib compressobj: expose missing knobs

2013-10-17 Thread Georg Brandl
Georg Brandl added the comment: Actually, compressobj() has always supported up to five arguments (named level, method, wbits, memlevel, strategy); I'll document this for 2.7 for issue 19277. The new thing in 3.3 are support for keyword arguments and the zdict parameter. -- __

[issue19278] zlib compressobj: expose missing knobs

2013-10-17 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the suggestion; the parameters have already been added in Python 3.3, see http://docs.python.org/3/library/zlib.html#zlib.compressobj. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed __

[issue19278] zlib compressobj: expose missing knobs

2013-10-17 Thread Tobias Oberstein
New submission from Tobias Oberstein: The zlib library provides a couple of knobs to control the behavior and resource consumption of compression: ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm, int level,