Author: Maciej Fijalkowski <fij...@gmail.com> Branch: kill-someobject Changeset: r57990:673ea32b2cfe Date: 2012-10-10 22:18 +0200 http://bitbucket.org/pypy/pypy/changeset/673ea32b2cfe/
Log: merge diff --git a/pypy/interpreter/gateway.py b/pypy/interpreter/gateway.py --- a/pypy/interpreter/gateway.py +++ b/pypy/interpreter/gateway.py @@ -866,6 +866,7 @@ argname = code._argnames[i] if isinstance(spec, tuple) and spec[0] is W_Root: w_default = eval(spec[1], {'space': space}) + assert isinstance(w_default, W_Root) assert argname.startswith('w_') argname = argname[2:] j = self._code.sig[0].index(argname) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit