[pypy-svn] r13266 - pypy/branch/pypy-translation-snapshot/interpreter
tismer at codespeak.net
tismer at codespeak.net
Fri Jun 10 16:03:24 CEST 2005
Author: tismer
Date: Fri Jun 10 16:03:23 2005
New Revision: 13266
Modified:
pypy/branch/pypy-translation-snapshot/interpreter/interactive.py
Log:
replaced forbidden usage of space.exec_
Modified: pypy/branch/pypy-translation-snapshot/interpreter/interactive.py
==============================================================================
--- pypy/branch/pypy-translation-snapshot/interpreter/interactive.py (original)
+++ pypy/branch/pypy-translation-snapshot/interpreter/interactive.py Fri Jun 10 16:03:23 2005
@@ -99,7 +99,9 @@
if completer:
self.enable_command_line_completer()
- space.exec_("__pytrace__ = 0", self.w_globals, self.w_globals)
+ # forbidden:
+ #space.exec_("__pytrace__ = 0", self.w_globals, self.w_globals)
+ space.setitem(self.w_globals, space.wrap('__pytrace__'),space.wrap(0))
self.tracelevel = 0
def enable_command_line_completer(self):
More information about the Pypy-commit
mailing list