[pypy-svn] rev 433 - pypy/trunk/src/pypy/objspace/std

tismer at codespeak.net tismer at codespeak.net
Mon May 26 14:06:42 CEST 2003


Author: tismer
Date: Mon May 26 14:06:42 2003
New Revision: 433

Modified:
   pypy/trunk/src/pypy/objspace/std/funcobject.py
Log:
generalizing functions. They all redirect to their specific code object

Modified: pypy/trunk/src/pypy/objspace/std/funcobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/funcobject.py	(original)
+++ pypy/trunk/src/pypy/objspace/std/funcobject.py	Mon May 26 14:06:42 2003
@@ -25,9 +25,7 @@
 
 
 def func_call(space, w_function, w_arguments, w_keywords):
-    ec = space.getexecutioncontext()
     somecode = space.unwrap(w_function.w_code)
-    w_locals = space.newdict([])
     w_globals = w_function.w_globals
     w_locals = somecode.build_arguments(space, w_arguments, w_keywords,
                   w_defaults = w_function.w_defaultarguments,


More information about the Pypy-commit mailing list