Author: Carl Friedrich Bolz <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit