Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r87731:3536ea84433f
Date: 2016-10-12 16:47 +0100
http://bitbucket.org/pypy/pypy/changeset/3536ea84433f/
Log: Fix pickling of exhauted reversed() iterators
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
@@ -370,7 +370,7 @@
else:
return space.newtuple([
space.type(self),
- space.newtuple([])])
+ space.newtuple([space.newtuple([])])])
def descr___setstate__(self, space, w_state):
self.remaining = space.int_w(w_state)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit