Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
ad3415a3
Commit
ad3415a3
authored
Jan 15, 2008
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix pre-import (broke with new Pyrex builtin code)
parent
3e249550
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Compiler/Main.py
Cython/Compiler/Main.py
+1
-1
No files found.
Cython/Compiler/Main.py
View file @
ad3415a3
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment