From: Stefan Behnel Date: Fri, 26 Nov 2010 15:18:23 +0000 (+0100) Subject: another Py3 fix for the compiled modules X-Git-Tag: 0.14.alpha0~61 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ed87ff9b057a1080ec2b412eee5b68299790bd2;p=cython.git another Py3 fix for the compiled modules --- 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: