]> granicus.if.org Git - python/commit
bpo-30017: Allowed calling the close() method of the zip entry writer object (#1041...
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 16 Apr 2017 09:04:45 +0000 (12:04 +0300)
committerGitHub <noreply@github.com>
Sun, 16 Apr 2017 09:04:45 +0000 (12:04 +0300)
commit8e5b52a8da07e781bda50ba0a7065b1058495a37
tree05226e7e15eb9291fd43e54d8cf56366a3e2a335
parentd5fa5f3ce7d9003bbd3975d1bf634043305ae18f
bpo-30017: Allowed calling the close() method of the zip entry writer object (#1041) (#1092)

multiple times.  Writing to closed zip entry writer object now always produce
a ValueError.
(cherry picked from commit 4c0d9ea995da595e90e08813b89510de59907802)
Lib/test/test_zipfile.py
Lib/zipfile.py
Misc/NEWS