From: Dag Sverre Seljebotn Date: Sat, 28 Mar 2009 14:39:26 +0000 (+0100) Subject: More easy ones to new temps X-Git-Tag: 0.12.alpha0~352 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=812275e9ea9679994bfd7d2652485ee006a216b2;p=cython.git More easy ones to new temps --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 24e45c0a..65714aee 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -1986,7 +1986,7 @@ class IndexNode(ExprNode): code.putln(code.error_goto(self.pos)) code.putln("}") -class SliceIndexNode(ExprNode): +class SliceIndexNode(NewTempExprNode): # 2-element slice indexing # # base ExprNode @@ -2188,7 +2188,7 @@ class SliceIndexNode(ExprNode): return "" -class SliceNode(ExprNode): +class SliceNode(NewTempExprNode): # start:stop:step in subscript list # # start ExprNode @@ -3524,7 +3524,7 @@ class DictNode(NewTempExprNode): for item in self.key_value_pairs: item.annotate(code) -class DictItemNode(ExprNode): +class DictItemNode(NewTempExprNode): # Represents a single item in a DictNode # # key ExprNode