[issue23756] Tighten definition of bytes-like objects

Stefan Krah report at bugs.python.org
Thu Apr 2 13:10:07 CEST 2015


Stefan Krah added the comment:

If you think that the previous version was "incorrect and misleading",
the bar for changes to be accepted seems pretty high for me.

"grep -r" doesn't seem to find "flattened length" in Doc/*.

"An object that supports the :ref:`bufferobject` and is C-contiguous, like :class:`bytes`, :class:`bytearray` or :class:`memoryview`."


This implies that all memoryviews are C-contiguous.

----------

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


More information about the Python-bugs-list mailing list