[issue27261] io.BytesIO.truncate does not work as advertised

Justus Winter report at bugs.python.org
Wed Jun 8 09:41:11 EDT 2016


Justus Winter added the comment:

FWIW, I consider the documented behavior a feature.  My use case is to allocate a BytesIO object with a given size, obtain a view to its buffer, and write to it from a c library.

----------

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


More information about the Python-bugs-list mailing list