Message237927
> 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. |
|
Date |
User |
Action |
Args |
2015-03-12 12:57:38 | pitrou | set | recipients:
+ pitrou, r.david.murray, skrah |
2015-03-12 12:57:38 | pitrou | set | messageid: <1426165058.32.0.716215839789.issue23632@psf.upfronthosting.co.za> |
2015-03-12 12:57:38 | pitrou | link | issue23632 messages |
2015-03-12 12:57:38 | pitrou | create | |
|