another Py3 fix for the compiled modules
authorStefan Behnel <scoder@users.berlios.de>
Fri, 26 Nov 2010 15:18:23 +0000 (16:18 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 26 Nov 2010 15:18:23 +0000 (16:18 +0100)
Cython/Compiler/Optimize.py

index d95638a518b080ed8fcd44b56c028ff616290752..173cd43e63d9664ef2de51641c57c5cf6a2d4306 100644 (file)
@@ -1390,7 +1390,7 @@ class EarlyReplaceBuiltinCalls(Visitor.EnvTransform):
             # leave this to Python
             return node
 
-        cascaded_nodes = map(UtilNodes.ResultRefNode, args[1:])
+        cascaded_nodes = list(map(UtilNodes.ResultRefNode, args[1:]))
 
         last_result = args[0]
         for arg_node in cascaded_nodes: