]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) (GH-12628)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 Mar 2019 13:52:16 +0000 (06:52 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Sat, 30 Mar 2019 13:52:16 +0000 (15:52 +0200)
commit4724ba9b57c45ce4bca3c828f2ed8dcff3800a0c
tree09480b16011fb93d4c6871a963f3e194fd89687d
parent128e40f06f3ddc18e113339af464ffefd070eaef
bpo-36434: Properly handle writing errors in ZIP files. (GH-12559) (GH-12628)

Errors during writing no longer prevent to properly close
the ZIP file.
(cherry picked from commit 2524fdefc9bb2a97b99319190aeb23703079ad4c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS.d/next/Library/2019-03-26-14-20-59.bpo-36434.PTdidw.rst [new file with mode: 0644]