projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30cf4b7
)
fix for Python <=2.5
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 12 Nov 2010 22:28:54 +0000
(23:28 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 12 Nov 2010 22:28:54 +0000
(23:28 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 9e4c66ef57f419a15d4d9043ea4e3575799e460c..8e31cc0beda8fbf356cb236dfb07d1e6d8056207 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-2908,8
+2908,8
@@
class ConstantFolding(Visitor.VisitorTransform, SkipDeclarations):
import traceback, sys
traceback.print_exc(file=sys.stdout)
- NODE_TYPE_ORDER =
(
ExprNodes.CharNode, ExprNodes.IntNode,
- ExprNodes.LongNode, ExprNodes.FloatNode
)
+ NODE_TYPE_ORDER =
[
ExprNodes.CharNode, ExprNodes.IntNode,
+ ExprNodes.LongNode, ExprNodes.FloatNode
]
def _widest_node_class(self, *nodes):
try: