From 3482bd7462ea74a9684470a68e519f3e79282b07 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 11 Jul 2008 16:17:23 +0200 Subject: [PATCH] trial fix for PersistentNode (plain guessing) --- Cython/Compiler/ExprNodes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 3216bbad..7d7149bf 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -4050,6 +4050,9 @@ class PersistentNode(ExprNode): self.result_ctype = self.arg.result_ctype self.is_temp = 1 + def calculate_result_code(self): + return self.arg.result_code + def generate_evaluation_code(self, code): if self.generate_counter == 0: self.arg.generate_evaluation_code(code) -- 2.26.2