Author: Armin Rigo <ar...@tunes.org> Branch: py3.5 Changeset: r87215:bceb849c4008 Date: 2016-09-18 23:24 +0200 http://bitbucket.org/pypy/pypy/changeset/bceb849c4008/
Log: Fix for test_interpreter.test_build_map_unpack diff --git a/pypy/interpreter/astcompiler/validate.py b/pypy/interpreter/astcompiler/validate.py --- a/pypy/interpreter/astcompiler/validate.py +++ b/pypy/interpreter/astcompiler/validate.py @@ -343,7 +343,7 @@ if self._len(node.keys) != self._len(node.values): raise ValidationError( "Dict doesn't have the same number of keys as values") - self._validate_exprs(node.keys) + self._validate_exprs(node.keys, null_ok=True) self._validate_exprs(node.values) def visit_Set(self, node): _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit