Fix for non-parse generated BinOp nodes.
authorRobert Bradshaw <robertwb@math.washington.edu>
Fri, 12 Nov 2010 10:29:34 +0000 (02:29 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Fri, 12 Nov 2010 10:29:34 +0000 (02:29 -0800)
Cython/Compiler/ExprNodes.py

index 920feef1f247729fde50ebc405aab31ecbd78a45..4743e282ba3616b87684f8e0322dc0b1e54f374b 100755 (executable)
@@ -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]