Alessandro Moura added the comment: Sorry, I should have seen the related issue (or just read the docs :)).
Here is the patch fixing these issues, implementing the behaviour stated in the docs (raising ValueError after close). The tests revealed that the _pyio module also needed fixing, and this is done in the patch as well. ---------- Added file: http://bugs.python.org/file27102/memoryio.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15841> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com