From: Stefan Behnel Date: Fri, 9 Jan 2009 07:44:58 +0000 (+0100) Subject: init temp allocation error checker to None to fix AttributeError X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5ef2cc1bb1585104cf036d61b2d039baad2f073;p=cython.git init temp allocation error checker to None to fix AttributeError --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 8f5da38e..6335675a 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -612,7 +612,8 @@ class RemoveAllocateTemps(type): class NewTempExprNode(ExprNode): backwards_compatible_result = None temp_code = None - + old_temp = None # error checker for multiple frees etc. + # Do not enable this unless you are trying to make all ExprNodes # NewTempExprNodes (child nodes reached via recursion may not have # transferred).