[issue27261] io.BytesIO.truncate does not work as advertised
Xiang Zhang
report at bugs.python.org
Tue Jun 7 23:01:50 EDT 2016
Xiang Zhang added the comment:
Is this a bug or a documentation matter? Inspecting BytesIO.truncate's code, it does resizing similar to list, this seems to be a designed feature, which conflicts with the documented behaviour.
----------
nosy: +xiang.zhang
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27261>
_______________________________________
More information about the Python-bugs-list
mailing list