[pypy-svn] r21943 - pypy/dist/pypy/rpython/l3interp

mwh at codespeak.net mwh at codespeak.net
Wed Jan 11 15:37:21 CET 2006


Author: mwh
Date: Wed Jan 11 15:37:20 2006
New Revision: 21943

Modified:
   pypy/dist/pypy/rpython/l3interp/l3interp.py
Log:
actually install missing handlers!


Modified: pypy/dist/pypy/rpython/l3interp/l3interp.py
==============================================================================
--- pypy/dist/pypy/rpython/l3interp/l3interp.py	(original)
+++ pypy/dist/pypy/rpython/l3interp/l3interp.py	Wed Jan 11 15:37:20 2006
@@ -87,8 +87,8 @@
         "NOT_RPYTHON"
         def make_missing_handler(opname):
             def missing_handler(self):
-                print 'XXX missing handler for operation', opname
-                raise NotImplementedError
+                raise NotImplementedError('XXX missing handler for %r'%opname)
+            return missing_handler
         cls.dispatch_table = []
         for opname in model.very_low_level_ops:
             try:



More information about the Pypy-commit mailing list