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 <[email protected]>
<http://bugs.python.org/issue20699>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com