Message169690
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. |
|
Date |
User |
Action |
Args |
2012-09-02 10:08:20 | eng793 | set | recipients:
+ eng793, pitrou, benjamin.peterson, stutzbach, hynek |
2012-09-02 10:08:20 | eng793 | set | messageid: <1346580500.15.0.774957010002.issue15841@psf.upfronthosting.co.za> |
2012-09-02 10:08:19 | eng793 | link | issue15841 messages |
2012-09-02 10:08:19 | eng793 | create | |
|