Commits

Alexander Hesse committed e6716eb

"Reasonable may have left the building"

Comments (0)

Files changed (2)

pypy/interpreter/astcompiler/assemble.py

 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

pypy/tool/stdlib_opcode.py

 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