Author: Mark Young <[email protected]>
Branch: 33_fix_itertools
Changeset: r83652:ca1b4e9652e6
Date: 2016-04-12 16:43 -0400
http://bitbucket.org/pypy/pypy/changeset/ca1b4e9652e6/

Log:    That 'unnecessary' change was required to make translation not fail.
        Add it back.

diff --git a/pypy/module/itertools/interp_itertools.py 
b/pypy/module/itertools/interp_itertools.py
--- a/pypy/module/itertools/interp_itertools.py
+++ b/pypy/module/itertools/interp_itertools.py
@@ -1114,7 +1114,7 @@
 class W_Product(W_Root):
     def __init__(self, space, args_w, w_repeat):
         self.gears = [
-            space.unpackiterable(arg_w) for arg_w in args_w
+            space.unpackiterable(arg_w)[:] for arg_w in args_w
         ] * space.int_w(w_repeat)
         #
         for gear in self.gears:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to