Enable FlattenInListTransform, IterationTransform.
authorRobert Bradshaw <robertwb@math.washington.edu>
Sat, 31 Jul 2010 20:40:32 +0000 (13:40 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Sat, 31 Jul 2010 20:40:32 +0000 (13:40 -0700)
Cython/Compiler/Main.py

index a25ec58f5ae07f4512dd0f80546c8fe8fb416cb3..539cada38f49446afa816d2c63f89a5437dcc752 100644 (file)
@@ -138,7 +138,7 @@ class Context(object):
             _align_function_definitions,
             MarkClosureVisitor(self),
             ConstantFolding(),
-#            FlattenInListTransform(),
+            FlattenInListTransform(),
             WithTransform(self),
             DecoratorTransform(self),
             AnalyseDeclarationsTransform(self),
@@ -153,7 +153,7 @@ class Context(object):
             _check_c_declarations,
             AnalyseExpressionsTransform(self),
             OptimizeBuiltinCalls(self),  ## Necessary?
-#            IterationTransform(),
+            IterationTransform(),
             SwitchTransform(),
 #            DropRefcountingTransform(),
 #            FinalOptimizePhase(self),