Author: neal.norwitz
Date: Fri Mar 24 08:07:34 2006
New Revision: 43275
Modified:
python/branches/p3yk/Lib/compiler/__init__.py
python/branches/p3yk/Lib/compiler/ast.py
python/branches/p3yk/Lib/compiler/transformer.py
Log:
Ok, compiler.transformer can really be imported now
Modified: python/branches/p3yk/Lib/compiler/__init__.py
==============================================================================
--- python/branches/p3yk/Lib/compiler/__init__.py (original)
+++ python/branches/p3yk/Lib/compiler/__init__.py Fri Mar 24 08:07:34 2006
@@ -21,6 +21,6 @@
Generates a .pyc file by compiling filename.
"""
-from .transformer import parse, parseFile
-from .visitor import walk
-from .pycodegen import compile, compileFile
+from compiler.transformer import parse, parseFile
+from compiler.visitor import walk
+from compiler.pycodegen import compile, compileFile
Modified: python/branches/p3yk/Lib/compiler/ast.py
==============================================================================
--- python/branches/p3yk/Lib/compiler/ast.py (original)
+++ python/branches/p3yk/Lib/compiler/ast.py Fri Mar 24 08:07:34 2006
@@ -2,7 +2,7 @@
This file is automatically generated by Tools/compiler/astgen.py
"""
-from consts import CO_VARARGS, CO_VARKEYWORDS
+from compiler.consts import CO_VARARGS, CO_VARKEYWORDS
def flatten(seq):
l = []
Modified: python/branches/p3yk/Lib/compiler/transformer.py
==============================================================================
--- python/branches/p3yk/Lib/compiler/transformer.py (original)
+++ python/branches/p3yk/Lib/compiler/transformer.py Fri Mar 24 08:07:34 2006
@@ -34,8 +34,8 @@
class WalkerError(StandardError):
pass
-from consts import CO_VARARGS, CO_VARKEYWORDS
-from consts import OP_ASSIGN, OP_DELETE, OP_APPLY
+from compiler.consts import CO_VARARGS, CO_VARKEYWORDS
+from compiler.consts import OP_ASSIGN, OP_DELETE, OP_APPLY
def parseFile(path):
f = open(path, "U")
_______________________________________________
Python-3000-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-3000-checkins