Author gruszczy
Recipients gruszczy, moyix, r.david.murray
Date 2011-04-07.20:03:21
SpamBayes Score 0.000142749
Marked as misclassified No
Message-id <1302206602.68.0.852641593087.issue11767@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a new patch, that uses with in __getitem__. I wonder, if we shouldn't check for an AttributeError in case object returned by get_file doesn't have __exit__ method, but does have close and use close instead of with. But it's for you to decide, as I am very fresh to with statement.
History
Date User Action Args
2011-04-07 20:03:22gruszczysetrecipients: + gruszczy, r.david.murray, moyix
2011-04-07 20:03:22gruszczysetmessageid: <1302206602.68.0.852641593087.issue11767@psf.upfronthosting.co.za>
2011-04-07 20:03:22gruszczylinkissue11767 messages
2011-04-07 20:03:22gruszczycreate