[pypy-svn] r73862 - pypy/trunk/pypy/objspace/flow
benjamin at codespeak.net
benjamin at codespeak.net
Sun Apr 18 02:34:10 CEST 2010
Author: benjamin
Date: Sun Apr 18 02:34:08 2010
New Revision: 73862
Modified:
pypy/trunk/pypy/objspace/flow/flowcontext.py
Log:
kill one more case of function imports
Modified: pypy/trunk/pypy/objspace/flow/flowcontext.py
==============================================================================
--- pypy/trunk/pypy/objspace/flow/flowcontext.py (original)
+++ pypy/trunk/pypy/objspace/flow/flowcontext.py Sun Apr 18 02:34:08 2010
@@ -1,14 +1,14 @@
import collections
+import sys
from pypy.interpreter.executioncontext import ExecutionContext
from pypy.interpreter.error import OperationError
-from pypy.interpreter import pyframe
+from pypy.interpreter import pyframe, nestedscope
from pypy.interpreter.argument import ArgumentsForTranslation
from pypy.objspace.flow import operation
from pypy.objspace.flow.model import *
from pypy.objspace.flow.framestate import FrameState
from pypy.rlib import jit
from pypy.tool.stdlib_opcode import host_bytecode_spec
-import sys
class StopFlowing(Exception):
pass
@@ -196,8 +196,8 @@
if closure is None:
self.closure = None
else:
- from pypy.interpreter.nestedscope import Cell
- self.closure = [Cell(Constant(value)) for value in closure]
+ self.closure = [nestedscope.Cell(Constant(value))
+ for value in closure]
frame = self.create_frame()
formalargcount = code.getformalargcount()
arg_list = [Variable() for i in range(formalargcount)]
More information about the Pypy-commit
mailing list