Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r59907:e6716eb7d47f
Date: 2013-01-10 00:17 +0100
http://bitbucket.org/pypy/pypy/changeset/e6716eb7d47f/
Log: "Reasonable may have left the building"
diff --git a/pypy/interpreter/astcompiler/assemble.py
b/pypy/interpreter/astcompiler/assemble.py
--- a/pypy/interpreter/astcompiler/assemble.py
+++ b/pypy/interpreter/astcompiler/assemble.py
@@ -5,6 +5,8 @@
from pypy.interpreter.astcompiler import ast, symtable
from pypy.interpreter import pycode
from pypy.tool import stdlib_opcode as ops
+from rpython.tool import stdlib_opcode as ops2
+print dir(ops2)
from pypy.interpreter.error import OperationError
from rpython.rlib.objectmodel import we_are_translated
diff --git a/pypy/tool/stdlib_opcode.py b/pypy/tool/stdlib_opcode.py
--- a/pypy/tool/stdlib_opcode.py
+++ b/pypy/tool/stdlib_opcode.py
@@ -32,7 +32,7 @@
del load_pypy_opcode
bytecode_spec = BytecodeSpec('pypy', opmap, HAVE_ARGUMENT)
-bytecode_spec.to_globals()
+bytecode_spec.to_globals(globals())
opcode_method_names = bytecode_spec.method_names
opcodedesc = bytecode_spec.opcodedesc
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit