Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CloneNode obsolete #641

Open
robertwb opened this issue Sep 25, 2008 · 1 comment
Open

Make CloneNode obsolete #641

robertwb opened this issue Sep 25, 2008 · 1 comment

Comments

@robertwb
Copy link
Contributor

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

Migrated from http://trac.cython.org/ticket/81

@robertwb
Copy link
Contributor Author

@dagss changed summary from

Deprecate CloneNode

to

Make CloneNode obsolete
commented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant