Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r48643:1d8951851148 Date: 2011-11-01 11:40 +0100 http://bitbucket.org/pypy/pypy/changeset/1d8951851148/
Log: translation fix diff --git a/pypy/interpreter/baseobjspace.py b/pypy/interpreter/baseobjspace.py --- a/pypy/interpreter/baseobjspace.py +++ b/pypy/interpreter/baseobjspace.py @@ -783,7 +783,8 @@ if isinstance(w_iterator, GeneratorIterator): return w_iterator.unpackiterable() # /xxx - return self._unpackiterable_unknown_length(w_iterator, w_iterable) + lst_w = self._unpackiterable_unknown_length(w_iterator, w_iterable) + return lst_w[:] # make the resulting list resizable else: return self._unpackiterable_known_length(w_iterator, expected_length) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit