[pypy-svn] r73832 - pypy/trunk/pypy/objspace/std

benjamin at codespeak.net benjamin at codespeak.net
Sat Apr 17 20:23:07 CEST 2010


Author: benjamin
Date: Sat Apr 17 20:23:06 2010
New Revision: 73832

Modified:
   pypy/trunk/pypy/objspace/std/frame.py
Log:
must use getdict() to get module dictionary

Modified: pypy/trunk/pypy/objspace/std/frame.py
==============================================================================
--- pypy/trunk/pypy/objspace/std/frame.py	(original)
+++ pypy/trunk/pypy/objspace/std/frame.py	Sat Apr 17 20:23:06 2010
@@ -75,7 +75,7 @@
     if w_value is None:
         builtins = f.get_builtin()
         assert isinstance(builtins, Module)
-        w_builtin_dict = builtins.w_dict
+        w_builtin_dict = builtins.getdict()
         assert isinstance(w_builtin_dict, W_DictMultiObject)
         w_value = w_builtin_dict.get_builtin_indexed(num)
     if w_value is None:



More information about the Pypy-commit mailing list