From: Robert Bradshaw Date: Fri, 12 Nov 2010 10:29:34 +0000 (-0800) Subject: Fix for non-parse generated BinOp nodes. X-Git-Tag: 0.14.alpha0~175^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe3df1a19d150da2ece865b3400c104dda748dc1;p=cython.git Fix for non-parse generated BinOp nodes. --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 920feef1..4743e282 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -5301,6 +5301,7 @@ class BinopNode(ExprNode): # - Allocate temporary for result if needed. subexprs = ['operand1', 'operand2'] + inplace = False def calculate_constant_result(self): func = compile_time_binary_operators[self.operator]