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
b17d50ca
Commit
b17d50ca
authored
Nov 26, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compile Cython.Compiler.Optimize module
parent
512cdc7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
Cython/Compiler/Optimize.py
Cython/Compiler/Optimize.py
+9
-7
setup.py
setup.py
+1
-0
No files found.
Cython/Compiler/Optimize.py
View file @
b17d50ca
import
cython
from
cython
import
set
cython
.
declare
(
UtilityCode
=
object
,
EncodedString
=
object
,
BytesLiteral
=
object
,
Nodes
=
object
,
ExprNodes
=
object
,
PyrexTypes
=
object
,
Builtin
=
object
,
UtilNodes
=
object
,
Naming
=
object
)
import
Nodes
import
ExprNodes
import
PyrexTypes
...
...
@@ -17,15 +24,10 @@ from ParseTreeTransforms import SkipDeclarations
import
codecs
try
:
reduce
except
Name
Error
:
from
__builtin__
import
reduce
except
Import
Error
:
from
functools
import
reduce
try
:
set
except
NameError
:
from
sets
import
Set
as
set
class
FakePythonEnv
(
object
):
"A fake environment for creating type test nodes etc."
nogil
=
False
...
...
setup.py
View file @
b17d50ca
...
...
@@ -92,6 +92,7 @@ def compile_cython_modules(profile=False):
"Cython.Compiler.Parsing"
,
"Cython.Compiler.Visitor"
,
"Cython.Compiler.ParseTreeTransforms"
,
"Cython.Compiler.Optimize"
,
"Cython.Runtime.refnanny"
]
extensions
=
[]
...
...
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