From: Robert Bradshaw Date: Wed, 13 Feb 2008 03:42:28 +0000 (-0800) Subject: Don't flatten list comprehension nodes X-Git-Tag: 0.9.6.14~29^2~34 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=62796e0922382396dbf2d095a27525ee35a3a289;p=cython.git Don't flatten list comprehension nodes --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 7892aed8..f7736536 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -2244,6 +2244,7 @@ class ListNode(SequenceNode): class ListComprehensionNode(SequenceNode): subexprs = [] + is_sequence_constructor = 0 # not unpackable def analyse_types(self, env): self.type = py_object_type