Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.13] gh-112346: Always set OS byte to 255, simpler gzip.compress function. (GH-120486) #120563

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 15, 2024

This matches the output behavior in 3.10 and earlier; the optimization in 3.11 allowed the zlib library's "os" value to be filled in instead in the circumstance when mtime was 0. this keeps things consistent.
(cherry picked from commit 08d09cf)

Co-authored-by: Ruben Vorderman [email protected]


📚 Documentation preview 📚: https://cpython-previews--120563.org.readthedocs.build/

…ction. (pythonGH-120486)

This matches the output behavior in 3.10 and earlier; the optimization in 3.11 allowed the zlib library's "os" value to be filled in instead in the circumstance when mtime was 0.  this keeps things consistent.
(cherry picked from commit 08d09cf)

Co-authored-by: Ruben Vorderman <[email protected]>
@gpshead gpshead enabled auto-merge (squash) June 15, 2024 18:55
@gpshead gpshead merged commit a19bb26 into python:3.13 Jun 15, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants