From: Robert Bradshaw Date: Tue, 10 Jul 2007 09:55:12 +0000 (-0700) Subject: fix incompatable tmp release between 0.9.5.1a and fast tuple unpacking X-Git-Tag: 0.9.6.14~29^2~176 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=08b3b0def20044462510e7d57ab102d217d2016e;p=cython.git fix incompatable tmp release between 0.9.5.1a and fast tuple unpacking --- 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):