fix pre-import (broke with new Pyrex builtin code)
authorRobert Bradshaw <robertwb@math.washington.edu>
Tue, 15 Jan 2008 20:11:37 +0000 (12:11 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Tue, 15 Jan 2008 20:11:37 +0000 (12:11 -0800)
Cython/Compiler/Main.py

index 9e517958f4d2524d1cbf136e158dcd051871ff90..55fb7baa64d4909fd37a1f485485a0633bd70aaf 100644 (file)
@@ -17,7 +17,6 @@ import Parsing
 from Symtab import BuiltinScope, ModuleScope
 import Code
 from Cython.Utils import replace_suffix
-import Builtin
 from Cython import Utils
 
 verbose = 0
@@ -34,6 +33,7 @@ class Context:
     
     def __init__(self, include_directories):
         #self.modules = {"__builtin__" : BuiltinScope()}
+        import Builtin
         self.modules = {"__builtin__" : Builtin.builtin_scope}
         self.include_directories = include_directories