New submission from Ilya Leoshkevich :
Started with:
commit ea23e7820f02840368569db8082bd0ca4d59b62a
Author: Ruben Vorderman
Date: Thu Sep 2 17:02:59 2021 +0200
bpo-43613: Faster implementation of gzip.compress and gzip.decompress
(GH-27941)
Co-authored-by: Ćukasz Langa
The fix is quite trivial:
--- a/Lib/gzip.py
+++ b/Lib/gzip.py
@@ -587,7 +587,8 @@ def compress(data, compresslevel=_COMPRESS_LEVEL_BEST, *,
mtime=None):
header = _create_simple_gzip_header(compresslevel, mtime)
trailer = struct.pack("
<https://bugs.python.org/issue46681>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com