[pypy-svn] r47386 - pypy/dist/pypy/interpreter
fijal at codespeak.net
fijal at codespeak.net
Thu Oct 11 09:28:51 CEST 2007
Author: fijal
Date: Thu Oct 11 09:28:50 2007
New Revision: 47386
Modified:
pypy/dist/pypy/interpreter/gateway.py
Log:
More elaborate assertion
Modified: pypy/dist/pypy/interpreter/gateway.py
==============================================================================
--- pypy/dist/pypy/interpreter/gateway.py (original)
+++ pypy/dist/pypy/interpreter/gateway.py Thu Oct 11 09:28:50 2007
@@ -131,7 +131,7 @@
self.orig_arg()
def visit__W_Root(self, el, app_sig):
- assert el is W_Root, "oops"
+ assert el is W_Root, "%s is not W_Root (forgotten to put .im_func in interp2app argument?)" % (el,)
argname = self.orig_arg()
assert argname.startswith('w_'), (
"argument %s of built-in function %r should "
More information about the Pypy-commit
mailing list