[pypy-svn] r70419 - pypy/trunk/pypy/interpreter
cfbolz at codespeak.net
cfbolz at codespeak.net
Wed Jan 6 12:16:19 CET 2010
Author: cfbolz
Date: Wed Jan 6 12:16:18 2010
New Revision: 70419
Modified:
pypy/trunk/pypy/interpreter/executioncontext.py
Log:
this function is unused
Modified: pypy/trunk/pypy/interpreter/executioncontext.py
==============================================================================
--- pypy/trunk/pypy/interpreter/executioncontext.py (original)
+++ pypy/trunk/pypy/interpreter/executioncontext.py Wed Jan 6 12:16:18 2010
@@ -136,15 +136,6 @@
else:
return self.space.builtin
- # XXX this one should probably be dropped in favor of a module
- def make_standard_w_globals(self):
- "Create a new empty 'globals' dictionary."
- w_key = self.space.wrap("__builtins__")
- w_value = self.space.wrap(self.get_builtin())
- w_globals = self.space.newdict()
- space.setitem(w_globals, w_key, w_value)
- return w_globals
-
def c_call_trace(self, frame, w_func):
"Profile the call of a builtin function"
if self.profilefunc is None:
More information about the Pypy-commit
mailing list