Antoine Pitrou added the comment:

> If we make this work, aren't people going to expect [[1,2], [3,4]][0,1] to 
> work?

Or even [[1,2], [3,4]][*(0,1)] :-)

But seriously, I don't know. memorview is a pretty specialized object, its 
semantics have more to do with Numpy (which has been a major inspiration and 
use case for the buffer protocol's design) than standard Python containers. I 
wouldn't expect a list of lists to support tuple indexing.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to