From 1ed87ff9b057a1080ec2b412eee5b68299790bd2 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 26 Nov 2010 16:18:23 +0100 Subject: [PATCH] another Py3 fix for the compiled modules --- Cython/Compiler/Optimize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index d95638a5..173cd43e 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -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: -- 2.26.2