From a613396bf3e555d9cf6e44afa1e88c8827797273 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 15 Oct 2009 04:04:26 -0700 Subject: [PATCH] Only need simple, don't need to force temp for bool binop nodes. --- 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 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" -- 2.26.2