[issue8046] mmap.mmap as a context manager

2010-08-01 Thread Georg Brandl
Georg Brandl added the comment: Thanks, adapted to current trunk and applied in r83406. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed ___ Python tracker

[issue8046] mmap.mmap as a context manager

2010-05-12 Thread Brian Curtin
Changes by Brian Curtin : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8046] mmap.mmap as a context manager

2010-03-02 Thread Brian Curtin
New submission from Brian Curtin : 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". -- components: Library (Lib)