From: Dag Sverre Seljebotn Date: Thu, 15 Oct 2009 08:07:37 +0000 (+0200) Subject: Adding reminders to self X-Git-Tag: 0.13.beta0~2^2~121^2~52^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6add62f375b610d1a49d9d446c41bedd0ab794af;p=cython.git Adding reminders to self --- diff --git a/Cython/Compiler/UtilNodes.py b/Cython/Compiler/UtilNodes.py index 79d4b78c..aad54ef0 100644 --- a/Cython/Compiler/UtilNodes.py +++ b/Cython/Compiler/UtilNodes.py @@ -10,6 +10,7 @@ from Nodes import Node from ExprNodes import AtomicExprNode class TempHandle(object): + # THIS IS DEPRECATED, USE LetRefNode instead temp = None needs_xdecref = False def __init__(self, type): @@ -23,6 +24,7 @@ class TempHandle(object): return CleanupTempRefNode(pos, handle=self, type=self.type) class TempRefNode(AtomicExprNode): + # THIS IS DEPRECATED, USE LetRefNode instead # handle TempHandle def analyse_types(self, env): @@ -52,6 +54,7 @@ class TempRefNode(AtomicExprNode): rhs.free_temps(code) class CleanupTempRefNode(TempRefNode): + # THIS IS DEPRECATED, USE LetRefNode instead # handle TempHandle def generate_assignment_code(self, rhs, code): @@ -63,6 +66,8 @@ class CleanupTempRefNode(TempRefNode): self.handle.needs_cleanup = False class TempsBlockNode(Node): + # THIS IS DEPRECATED, USE LetNode instead + """ Creates a block which allocates temporary variables. This is used by transforms to output constructs that need