This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author hagen
Recipients hagen
Date 2008-09-13.19:29:01
SpamBayes Score 0.0012487613
Marked as misclassified No
Message-id <>
When you've become used to writing

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

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