Author: Armin Rigo <[email protected]>
Branch: kill-someobject
Changeset: r57984:88341d339b59
Date: 2012-10-10 19:19 +0200
http://bitbucket.org/pypy/pypy/changeset/88341d339b59/
Log: An extra assert.
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
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit