[issue8886] zipfile.ZipExtFile is a context manager, but that is not documented

Erik Carstensen report at bugs.python.org
Thu Jun 3 14:32:59 CEST 2010


Erik Carstensen <sandberg at virtutech.com> added the comment:

Patch that makes the zipfile test consistently use with statements to handle the return value of ZipFile.open().

----------
keywords: +patch
Added file: http://bugs.python.org/file17529/with-ZipExtFile-in-test.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8886>
_______________________________________


More information about the Python-bugs-list mailing list