Message133250
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. |
|
Date |
User |
Action |
Args |
2011-04-07 20:03:22 | gruszczy | set | recipients:
+ gruszczy, r.david.murray, moyix |
2011-04-07 20:03:22 | gruszczy | set | messageid: <1302206602.68.0.852641593087.issue11767@psf.upfronthosting.co.za> |
2011-04-07 20:03:22 | gruszczy | link | issue11767 messages |
2011-04-07 20:03:22 | gruszczy | create | |
|