[pypy-commit] pypy faster-set-of-iterator: potential todo

cfbolz noreply at buildbot.pypy.org
Mon Jul 15 11:49:39 CEST 2013


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: faster-set-of-iterator
Changeset: r65396:dce5e71147e8
Date: 2013-07-09 08:55 +0200
http://bitbucket.org/pypy/pypy/changeset/dce5e71147e8/

Log:	potential todo

diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py
--- a/pypy/objspace/std/listobject.py
+++ b/pypy/objspace/std/listobject.py
@@ -488,6 +488,7 @@
             if isinstance(w_any, W_ListObject):
                 self.setslice(start, step, slicelength, w_any)
             else:
+                # YYY use different interface here to prevent packing and unpacking?
                 sequence_w = space.listview(w_any)
                 w_other = W_ListObject(space, sequence_w)
                 self.setslice(start, step, slicelength, w_other)


More information about the pypy-commit mailing list