From 08b3b0def20044462510e7d57ab102d217d2016e Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 10 Jul 2007 02:55:12 -0700 Subject: [PATCH] fix incompatable tmp release between 0.9.5.1a and fast tuple unpacking --- Cython/Compiler/ExprNodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 18eb72c7..88d264a8 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -1857,13 +1857,13 @@ class SequenceNode(ExprNode): def allocate_target_temps(self, env, rhs): self.iterator.allocate_temps(env) - if rhs: - rhs.release_temp(env) for arg, node in zip(self.args, self.coerced_unpacked_items): node.allocate_temps(env) arg.allocate_target_temps(env, node) #arg.release_target_temp(env) #node.release_temp(env) + if rhs: + rhs.release_temp(env) self.iterator.release_temp(env) # def release_target_temp(self, env): -- 2.26.2