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 eng793
Recipients benjamin.peterson, eng793, hynek, pitrou, stutzbach
Date 2012-09-02.10:08:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346580500.15.0.774957010002.issue15841@psf.upfronthosting.co.za>
In-reply-to
Content
This also happens for the writable() and seekable() methods. The problem is that those methods do not check whether the buffers have been closed in stringio.c. This is fixed in the attached patch for StringIO. BytesIO should be the same, but bytesio.c is structured differently, and I still have to understand the code. I will try to do this, and then add tests for this issue - which should go in one of the mixins of test_memoryio.py, I presume.
History
Date User Action Args
2012-09-02 10:08:20eng793setrecipients: + eng793, pitrou, benjamin.peterson, stutzbach, hynek
2012-09-02 10:08:20eng793setmessageid: <1346580500.15.0.774957010002.issue15841@psf.upfronthosting.co.za>
2012-09-02 10:08:19eng793linkissue15841 messages
2012-09-02 10:08:19eng793create