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

tomek at codespeak.net tomek at codespeak.net
Mon May 26 17:08:10 CEST 2003


Author: tomek
Date: Mon May 26 17:08:09 2003
New Revision: 457

Modified:
   pypy/trunk/src/pypy/objspace/std/funcobject.py
Log:
A simple __import__ hook


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 17:08:09 2003
@@ -27,6 +27,10 @@
 def func_call(space, w_function, w_arguments, w_keywords):
     somecode = w_function.code
     w_globals = w_function.w_globals
+    print somecode
+    print w_function.w_code
+    print dir(somecode)
+    print somecode.__class__
     w_locals = somecode.build_arguments(space, w_arguments, w_keywords,
                   w_defaults = w_function.w_defaultarguments,
                   w_closure = w_function.w_closure)


More information about the Pypy-commit mailing list