[issue23099] BytesIO and StringIO values unavailable when closed

Antoine Pitrou report at bugs.python.org
Mon Dec 22 20:46:49 CET 2014


Antoine Pitrou added the comment:

> Even worse, the memoryview gets corrupted on close():

The BytesIO object should probably reject closing when a buffer is exported.

> writing to the file seems to be completely disallowed, even if it 
> would not seem to change the size:

An enhancement is probably possible there.

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23099>
_______________________________________


More information about the Python-bugs-list mailing list