From: Stefan Behnel Date: Fri, 11 Jul 2008 14:17:23 +0000 (+0200) Subject: trial fix for PersistentNode (plain guessing) X-Git-Tag: 0.9.8.1~123^2~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3482bd7462ea74a9684470a68e519f3e79282b07;p=cython.git trial fix for PersistentNode (plain guessing) --- 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)