Commits

Armin Rigo  committed e23804a

Fix the Dump Object Space.

  • Participants
  • Parent commits 965f3e0

Comments (0)

Files changed (1)

File pypy/objspace/dump.py

     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