[pypy-svn] r38253 - pypy/dist/pypy/objspace

arigo at codespeak.net arigo at codespeak.net
Fri Feb 9 14:42:59 CET 2007


Author: arigo
Date: Fri Feb  9 14:42:57 2007
New Revision: 38253

Modified:
   pypy/dist/pypy/objspace/dump.py
Log:
Fix the Dump Object Space.


Modified: pypy/dist/pypy/objspace/dump.py
==============================================================================
--- pypy/dist/pypy/objspace/dump.py	(original)
+++ pypy/dist/pypy/objspace/dump.py	Fri Feb  9 14:42:57 2007
@@ -187,12 +187,12 @@
     returns_wrapped = opname in op_returning_wrapped
     aligned_opname = '%15s' % opname
     n = nb_args[opname]
-    def proxy(*args):
+    def proxy(*args, **kwds):
         dumper = space.dumper
         args_w = list(args[:n])
         dumper.dump_enter(aligned_opname, args_w)
         try:
-            res = parentfn(*args)
+            res = parentfn(*args, **kwds)
         except Exception, e:
             dumper.dump_raised(aligned_opname, e)
             raise



More information about the Pypy-commit mailing list