cleanup
authorStefan Behnel <scoder@users.berlios.de>
Fri, 28 May 2010 08:33:53 +0000 (10:33 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 28 May 2010 08:33:53 +0000 (10:33 +0200)
Cython/Compiler/Optimize.py

index f0c793899e211d99b723e196adac3eb345a3440d..8ab5f8e378c183383d605fdcbbc634b2409ce749 100644 (file)
@@ -1230,8 +1230,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
         append_node = ExprNodes.ComprehensionAppendNode(
             yield_node.pos,
             expr = yield_expression,
-            target = ExprNodes.CloneNode(target_node),
-            is_temp = 1) # FIXME: why is this an ExprNode?
+            target = ExprNodes.CloneNode(target_node))
 
         Visitor.recursively_replace_node(loop_node, yield_node, append_node)
 
@@ -1272,8 +1271,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
             yield_node.pos,
             key_expr = yield_expression.args[0],
             value_expr = yield_expression.args[1],
-            target = ExprNodes.CloneNode(target_node),
-            is_temp = 1) # FIXME: why is this an ExprNode?
+            target = ExprNodes.CloneNode(target_node))
 
         Visitor.recursively_replace_node(loop_node, yield_node, append_node)