Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Looks reasonable. gzip should write b'\002' for compresslevel == 
_COMPRESS_LEVEL_BEST, b'\004' for compresslevel == _COMPRESS_LEVEL_FAST, and 
b'\000' otherwise. Do you mind to create a PR William.

----------
keywords: +easy
nosy: +serhiy.storchaka
stage:  -> needs patch
versions:  -Python 2.7, Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39389>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to