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 brian.curtin
Recipients brian.curtin
Date 2010-03-03.03:39:49
SpamBayes Score 0.00018698584
Marked as misclassified No
Message-id <1267587593.82.0.663403244999.issue8046@psf.upfronthosting.co.za>
In-reply-to
Content
Most file or file-like objects operate as context managers, except for mmap (and maybe a few others?). Attached is a patch with tests and documentation.

The patch also introduces an additional attribute to mmap, "closed".
History
Date User Action Args
2010-03-03 03:39:53brian.curtinsetrecipients: + brian.curtin
2010-03-03 03:39:53brian.curtinsetmessageid: <1267587593.82.0.663403244999.issue8046@psf.upfronthosting.co.za>
2010-03-03 03:39:51brian.curtinlinkissue8046 messages
2010-03-03 03:39:50brian.curtincreate