commit | c3b39245a7695cf39ba5524f59deeff52b00e5f9 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Jan 03 16:59:18 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Jan 03 16:59:18 2009 +0000 |
tree | 9736aa9a6d7c03b55eeb7d362a53f91d6000dda3 | |
parent | 8bcddcabd770dd424b97d7c667ef8e5337436215 [diff] |
Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. Also fix len() to return number of items rather than length in bytes. I'm sorry it was not possible for me to work on this without reindenting a bit some stuff around. The indentation in memoryobject.c is a mess, I'll open a separate bug for it.