Ticket #81 (new defect)

Opened 2 months ago

Last modified 2 months ago

Make CloneNode obsolete

Reported by: dagss Assigned to: somebody
Priority: major Milestone: wishlist
Component: Code Generation Version:
Keywords: cleanup Cc:

Description

As we start making changes affecting the value of node.result() during post-analysis transforms, CloneNode is a potential problem. Many of them can now be replaced by TempBlockNode (preferred from transforms) or code.funcstate.allocate_temp (preferred if the temp is really only needed within the code generation functions of the node).

This should be within the realm of possibility:

dagss:~/cython/tempblock$ grep CloneNode -r Cython/Compiler/*Nodes.py |grep -v '#' | grep -v '^class' | wc -l
12

Change History

09/25/2008 02:39:04 PM changed by dagss

  • summary changed from Deprecate CloneNode to Make CloneNode obsolete.