[issue19078] Allow reversed(memoryview), like memoryview[::-1]

Antoine Pitrou report at bugs.python.org
Mon Sep 23 22:52:18 CEST 2013


Antoine Pitrou added the comment:

So the dilemma with len() was: does it return the number of bytes, or the number of items?
Given the new memoryview semantics, I'd say it should return the number of items.

----------
nosy: +ncoghlan, skrah

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


More information about the Python-bugs-list mailing list