[issue5506] io.BytesIO doesn't support the buffer protocol
Antoine Pitrou
report at bugs.python.org
Sun Apr 5 16:52:10 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
Yes.
I don't remember which use case I was thinking about when I suggested
this, but it may be useful to e.g. write() all the data to a file object
without actually making a copy (getvalue() does).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5506>
_______________________________________
More information about the Python-bugs-list
mailing list