gh-112346: Always set OS byte to 255, simpler gzip.compress function. by rhpvorderman · Pull Request #120486 · python/cpython

added 10 commits

January 16, 2024 14:03

serhiy-storchaka

serhiy-storchaka

@gpshead

gpshead

@gpshead

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 15, 2024
…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 <r.h.p.vorderman@lumc.nl>

gpshead pushed a commit that referenced this pull request

Jun 15, 2024
…nction. (GH-120486) (#120563)

gh-112346: Always set OS byte to 255, simpler gzip.compress function. (GH-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 <r.h.p.vorderman@lumc.nl>

mrahtz pushed a commit to mrahtz/cpython that referenced this pull request

Jun 30, 2024
…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.

noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request

Jul 11, 2024
…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.

estyxx pushed a commit to estyxx/cpython that referenced this pull request

Jul 17, 2024
…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.