Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r81730:26dd3a53c0c4
Date: 2016-01-13 04:44 +0100
http://bitbucket.org/pypy/pypy/changeset/26dd3a53c0c4/

Log:    Fix translation.

        I think pickling of enumerate objects is still a bit broken. I'll
        verify after translation.

diff --git a/pypy/module/__builtin__/functional.py 
b/pypy/module/__builtin__/functional.py
--- a/pypy/module/__builtin__/functional.py
+++ b/pypy/module/__builtin__/functional.py
@@ -269,7 +269,7 @@
 
     def descr___reduce__(self, space):
         return space.newtuple([space.type(self),
-                               space.newtuple([self.w_iter, self.w_index])])
+                               space.newtuple([self.w_iter_or_list, 
self.w_index])])
 
 W_Enumerate.typedef = TypeDef("enumerate",
     __new__=interp2app(W_Enumerate.descr___new__),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to