Author hagen
Recipients hagen
Date 2008-09-13.19:29:01
SpamBayes Score 0.00124876
Marked as misclassified No
Message-id <1221334142.89.0.958146775419.issue3860@psf.upfronthosting.co.za>
In-reply-to
Content
When you've become used to writing

with open("xzy", "w") as f: 

it's strange when it doesn't work for gzip.open or bz2.BZ2File.
Or is there a reason for them not being context managers?
History
Date User Action Args
2008-09-13 19:29:02hagensetrecipients: + hagen
2008-09-13 19:29:02hagensetmessageid: <1221334142.89.0.958146775419.issue3860@psf.upfronthosting.co.za>
2008-09-13 19:29:02hagenlinkissue3860 messages
2008-09-13 19:29:01hagencreate