[pypy-svn] rev 437 - pypy/trunk/src/pypy/interpreter
tismer at codespeak.net
tismer at codespeak.net
Mon May 26 14:52:17 CEST 2003
Author: tismer
Date: Mon May 26 14:52:17 2003
New Revision: 437
Modified:
pypy/trunk/src/pypy/interpreter/pyframe.py
Log:
there is a problem with circular imports if one of them is spelling the package
Modified: pypy/trunk/src/pypy/interpreter/pyframe.py
==============================================================================
--- pypy/trunk/src/pypy/interpreter/pyframe.py (original)
+++ pypy/trunk/src/pypy/interpreter/pyframe.py Mon May 26 14:52:17 2003
@@ -1,7 +1,10 @@
""" PyFrame class implementation with the interpreter main loop.
"""
-
-from pypy.interpreter import opcode
+import opcode
+# XXX this is probably a Python bug:
+# circular import doesn't work if we spell this
+# from pypy.interpreter import opcode
+# report this to python-dev
from executioncontext import OperationError, Stack
import baseobjspace
from appfile import AppFile
More information about the Pypy-commit
mailing list