From: Robert Bradshaw Date: Tue, 15 Jan 2008 20:11:37 +0000 (-0800) Subject: fix pre-import (broke with new Pyrex builtin code) X-Git-Tag: 0.9.6.14~29^2~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ad3415a3e072a97b0221c07d2f53886551dcc7e0;p=cython.git fix pre-import (broke with new Pyrex builtin code) --- diff --git a/Cython/Compiler/Main.py b/Cython/Compiler/Main.py index 9e517958..55fb7baa 100644 --- a/Cython/Compiler/Main.py +++ b/Cython/Compiler/Main.py @@ -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