Skip to content
Prev Previous commit
Next Next commit
Add blurb news entry for zlib.compress wbits parameter
  • Loading branch information
rhpvorderman committed Mar 24, 2021
commit 07cc0adc77471b6385f2079eafcad419805081c3
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
``zlib.compress`` now accepts a wbits parameter which allows users to
compress data as a raw deflate block without zlib headers and trailers in
one go. Previously this required instantiating a ``zlib.compressobj``. It
also provides a faster alternative to ``gzip.compress`` when wbits=31 is
used.