[pypy-svn] r8290 - in pypy/trunk/src/pypy: interpreter objspace/std
pedronis at codespeak.net
pedronis at codespeak.net
Sat Jan 15 12:19:33 CET 2005
Author: pedronis
Date: Sat Jan 15 12:19:33 2005
New Revision: 8290
Modified:
pypy/trunk/src/pypy/interpreter/gateway.py
pypy/trunk/src/pypy/objspace/std/fake.py
Log:
small fixes (they keep translate_pypy working)
Modified: pypy/trunk/src/pypy/interpreter/gateway.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/gateway.py (original)
+++ pypy/trunk/src/pypy/interpreter/gateway.py Sat Jan 15 12:19:33 2005
@@ -11,6 +11,7 @@
"""
import types, sys
+from pypy.interpreter.error import OperationError
from pypy.interpreter import eval, pycode
from pypy.interpreter.function import Function, Method
from pypy.interpreter.baseobjspace import Wrappable
Modified: pypy/trunk/src/pypy/objspace/std/fake.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/fake.py (original)
+++ pypy/trunk/src/pypy/objspace/std/fake.py Sat Jan 15 12:19:33 2005
@@ -95,7 +95,7 @@
self.unwrappedargs = self.space.unwrap(w_args)
self.unwrappedkwds = self.space.unwrap(w_kwds)
except UnwrapError, e:
- raise UnwrapError('calling %s: %s' % (fn, e))
+ raise UnwrapError('calling %s: %s' % (self.code.cpy_callable, e))
def getfastscope(self):
raise OperationError(self.space.w_TypeError,
More information about the Pypy-commit
mailing list