Commit ad3415a3 authored by Robert Bradshaw's avatar Robert Bradshaw

fix pre-import (broke with new Pyrex builtin code)

parent 3e249550
...@@ -17,7 +17,6 @@ import Parsing ...@@ -17,7 +17,6 @@ import Parsing
from Symtab import BuiltinScope, ModuleScope from Symtab import BuiltinScope, ModuleScope
import Code import Code
from Cython.Utils import replace_suffix from Cython.Utils import replace_suffix
import Builtin
from Cython import Utils from Cython import Utils
verbose = 0 verbose = 0
...@@ -34,6 +33,7 @@ class Context: ...@@ -34,6 +33,7 @@ class Context:
def __init__(self, include_directories): def __init__(self, include_directories):
#self.modules = {"__builtin__" : BuiltinScope()} #self.modules = {"__builtin__" : BuiltinScope()}
import Builtin
self.modules = {"__builtin__" : Builtin.builtin_scope} self.modules = {"__builtin__" : Builtin.builtin_scope}
self.include_directories = include_directories self.include_directories = include_directories
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment