[docs] [issue20699] Document that binary IO classes work with bytes-likes objects
Serhiy Storchaka
report at bugs.python.org
Fri Jun 3 03:18:49 EDT 2016
Serhiy Storchaka added the comment:
Since the _pyio implementation doesn't support general memoryview-like objects, I consider using the new buffer protocol in the C implementation an implementation detail. Other implementations can lack this support. I think it would be better to left the wording more general ("preallocated writable array of bytes"), but mention other concrete example (array('b'), are there other examples in the stdlib?).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20699>
_______________________________________
More information about the docs
mailing list