]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF bug 486480: zipfile __del__ is broken
authorTim Peters <tim.peters@gmail.com>
Wed, 28 Nov 2001 23:16:40 +0000 (23:16 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 28 Nov 2001 23:16:40 +0000 (23:16 +0000)
commitd15f8bbe320811d8edaf869c91308679d246693f
tree50a5aecba5fb206b62b1b8c22d6595a1899ac63a
parent97019e41102df409556a76ca347ce9cf020bf23f
SF bug 486480:  zipfile __del__ is broken
ZipFile.__del__():  call ZipFile.close(), like its docstring says it does.
ZipFile.close():  allow calling more than once (as all file-like objects
in Python should support).
Lib/zipfile.py