Author r.david.murray
Recipients gruszczy, moyix, r.david.murray
Date 2011-04-07.20:49:38
SpamBayes Score 0.0018105
Marked as misclassified No
Message-id <1302209378.87.0.12060345468.issue11767@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, that's exactly why I suggested using the 'closing' context manager from contextlib.  That context manager returns the object passed to it, and then when its __exit__ method is called, calls the close method of that object that was passed to it.
History
Date User Action Args
2011-04-07 20:49:38r.david.murraysetrecipients: + r.david.murray, gruszczy, moyix
2011-04-07 20:49:38r.david.murraysetmessageid: <1302209378.87.0.12060345468.issue11767@psf.upfronthosting.co.za>
2011-04-07 20:49:38r.david.murraylinkissue11767 messages
2011-04-07 20:49:38r.david.murraycreate