• Antoine Pitrou's avatar
    Merged revisions 68200 via svnmerge from · 4c8aa715
    Antoine Pitrou yazdı
    svn+ssh://pythondev@svn.python.org/python/branches/py3k
    
    ........
      r68200 | antoine.pitrou | 2009-01-03 17:59:18 +0100 (sam., 03 janv. 2009) | 8 lines
    
      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.
    ........
    4c8aa715
test_memoryview.py 10.5 KB