[New-bugs-announce] [issue5511] zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement

J.R. Allen report at bugs.python.org
Wed Mar 18 19:24:24 CET 2009


New submission from J.R. Allen <python at petruchio.org>:

Currently the zipfile.ZipFile class has no __exit__ atribute, so it 
does not work with a with statement as other file objects do.  Can this 
be implemented?

----------
components: Library (Lib)
messages: 83768
nosy: petruchio
severity: normal
status: open
title: zipfile - add __exit__ attribute to make ZipFile object compatible with with_statement
type: feature request
versions: Python 2.6

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


More information about the New-bugs-announce mailing list