Author: Carl Friedrich Bolz-Tereick <cfb...@gmx.de> Branch: py3.6 Changeset: r96375:43bb1c622881 Date: 2019-03-28 11:30 +0100 http://bitbucket.org/pypy/pypy/changeset/43bb1c622881/
Log: fix translation diff --git a/pypy/interpreter/astcompiler/optimize.py b/pypy/interpreter/astcompiler/optimize.py --- a/pypy/interpreter/astcompiler/optimize.py +++ b/pypy/interpreter/astcompiler/optimize.py @@ -318,7 +318,7 @@ return ast.Constant(w_consts, tup.lineno, tup.col_offset) def _make_starred_tuple_const(self, consts_w, firstelt): - w_consts = self.space.newtuple(consts_w) + w_consts = self.space.newtuple(consts_w[:]) return ast.Starred(ast.Constant( w_consts, firstelt.lineno, firstelt.col_offset), ast.Load, firstelt.lineno, firstelt.col_offset) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit