[pypy-commit] pypy py3k: Write down the possible solution, to do later

arigo pypy.commits at gmail.com
Sat Aug 27 08:42:32 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3k
Changeset: r86597:a6da2166c78c
Date: 2016-08-27 14:42 +0200
http://bitbucket.org/pypy/pypy/changeset/a6da2166c78c/

Log:	Write down the possible solution, to do later

diff --git a/pypy/objspace/std/memoryobject.py b/pypy/objspace/std/memoryobject.py
--- a/pypy/objspace/std/memoryobject.py
+++ b/pypy/objspace/std/memoryobject.py
@@ -99,6 +99,8 @@
             buf = SubBuffer(self.buf, start * itemsize, size * itemsize)
             return W_MemoryView(buf, self.format, itemsize)
         else:
+            # XXX needs to return a W_MemoryView with a NonContiguousSubBuffer
+            # maybe?  Need to check the cpyext requirements for that
             raise oefmt(space.w_NotImplementedError,
                         "XXX extended slicing")
 


More information about the pypy-commit mailing list