This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ddorda
Recipients ddorda
Date 2016-07-15.17:26:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468603610.22.0.92461778532.issue27521@psf.upfronthosting.co.za>
In-reply-to
Content
When creating a gzip file using the gzip module,
the wrong header is set as the compress level when not using the default (9).
the reason is that the header is set blindly as \002, without really checking what compress level is.

Patch to fix that behaviour is provided :)
(Patch tested on python 3.5, but relevant to 2.x versions too)
History
Date User Action Args
2016-07-15 17:26:50ddordasetrecipients: + ddorda
2016-07-15 17:26:50ddordasetmessageid: <1468603610.22.0.92461778532.issue27521@psf.upfronthosting.co.za>
2016-07-15 17:26:50ddordalinkissue27521 messages
2016-07-15 17:26:50ddordacreate