]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] GH-105808: Fix a regression introduced in GH-101251 (GH-105910) (#105920)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Jun 2023 17:42:23 +0000 (10:42 -0700)
committerGitHub <noreply@github.com>
Mon, 19 Jun 2023 17:42:23 +0000 (17:42 +0000)
commit225cc4c043aca472f0c7c78bed1a7524fae5c278
treee0c6b01b347b088988df12206e432ebf0a89aadd
parent5e524ef34687899ed09b5a4c56568346e20f789e
[3.12] GH-105808: Fix a regression introduced in GH-101251 (GH-105910) (#105920)

GH-105808: Fix a regression introduced in GH-101251 (GH-105910)

Fix a regression introduced in pythonGH-101251, causing GzipFile.flush() to
not flush the compressor (nor pass along the zip_mode argument).
(cherry picked from commit 1858db7cbdbf41aa600c954c15224307bf81a258)

Co-authored-by: T. Wouters <thomas@python.org>
Lib/gzip.py
Lib/test/test_gzip.py
Misc/NEWS.d/next/Library/2023-06-19-11-31-55.gh-issue-105808.NL-quu.rst [new file with mode: 0644]