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 eric.araujo
Recipients Valery.Khamenya, docs@python, eric.araujo, ezio.melotti, ncoghlan, orsenthil, terry.reedy
Date 2012-02-04.07:11:06
SpamBayes Score 1.0714447e-06
Marked as misclassified No
Message-id <1328339467.1.0.73619062067.issue12955@psf.upfronthosting.co.za>
In-reply-to
Content
Either we find a commonly used stdlib class that is not a context manager but has a close method and is not going to become a context manager (I can’t see why such a thing would be), or we can add something like: “closing is useful with code that you can’t change to add context management, for example urllib.urlopen before Python 3.3”.
History
Date User Action Args
2012-02-04 07:11:07eric.araujosetrecipients: + eric.araujo, terry.reedy, ncoghlan, orsenthil, ezio.melotti, docs@python, Valery.Khamenya
2012-02-04 07:11:07eric.araujosetmessageid: <1328339467.1.0.73619062067.issue12955@psf.upfronthosting.co.za>
2012-02-04 07:11:06eric.araujolinkissue12955 messages
2012-02-04 07:11:06eric.araujocreate