Author pitrou
Recipients john.admanski, pitrou, r.david.murray
Date 2010-09-14.12:45:13
SpamBayes Score 4.28245e-06
Marked as misclassified No
Message-id <>
> Antoine, any reason not to put the close in the ZipFileExt close method 
> instead of a __del__ method?  (And document it, of course).

You are right, a close() method would be enough.
Furthermore, ZipExtFile already supports the context manager protocol (implicitly calling BufferedIOBase.close()), so you will simply be able to write:

with"README", "r") as f:
    # ...
Date User Action Args
2010-09-14 12:45:17pitrousetrecipients: + pitrou, r.david.murray, john.admanski
2010-09-14 12:45:17pitrousetmessageid: <>
2010-09-14 12:45:16pitroulinkissue9846 messages
2010-09-14 12:45:13pitroucreate