From ad3415a3e072a97b0221c07d2f53886551dcc7e0 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 15 Jan 2008 12:11:37 -0800 Subject: [PATCH] fix pre-import (broke with new Pyrex builtin code) --- Cython/Compiler/Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2