[pypy-svn] r10838 - pypy/dist/pypy/interpreter
pedronis at codespeak.net
pedronis at codespeak.net
Tue Apr 19 00:26:10 CEST 2005
Author: pedronis
Date: Tue Apr 19 00:26:10 2005
New Revision: 10838
Modified:
pypy/dist/pypy/interpreter/interactive.py
Log:
oops, repair py.py
Modified: pypy/dist/pypy/interpreter/interactive.py
==============================================================================
--- pypy/dist/pypy/interpreter/interactive.py (original)
+++ pypy/dist/pypy/interpreter/interactive.py Tue Apr 19 00:26:10 2005
@@ -90,10 +90,8 @@
code.InteractiveConsole.__init__(self)
self.space = objspace
self.verbose = verbose
- self.ec = executioncontext.ExecutionContext(self.space)
- # Need a way for the object space to get the execution context
- setattr(self.space, "createexecutioncontext", self.get_ec)
-
+ self.ec = self.space.createexecutioncontext()
+
space=self.space
mainmodule = main.ensure__main__(space)
More information about the Pypy-commit
mailing list