[pypy-commit] pypy py3.3: Fix translation.
mjacob
pypy.commits at gmail.com
Tue Jan 12 22:45:41 EST 2016
Author: Manuel Jacob <me at manueljacob.de>
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__),
More information about the pypy-commit
mailing list