From: Robert Bradshaw Date: Thu, 15 Oct 2009 11:04:26 +0000 (-0700) Subject: Only need simple, don't need to force temp for bool binop nodes. X-Git-Tag: 0.13.beta0~2^2~121^2~48^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a613396bf3e555d9cf6e44afa1e88c8827797273;p=cython.git Only need simple, don't need to force temp for bool binop nodes. --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index fe21d650..262e79e5 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -4862,8 +4862,8 @@ class BoolBinopNode(ExprNode): # For what we're about to do, it's vital that # both operands be temp nodes. - self.operand1 = self.operand1.coerce_to_temp(env) - self.operand2 = self.operand2.coerce_to_temp(env) + self.operand1 = self.operand1.coerce_to_simple(env) + self.operand2 = self.operand2.coerce_to_simple(env) self.is_temp = 1 gil_message = "Truth-testing Python object"