New submission from J.R. Allen <pyt...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5511> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com