Greg Ewing, 20.07.2010 01:19: > Stefan Behnel wrote: >> For example, >> it's a difference if you just use it to reference a value that it owns, or >> if you keep reassigning other values to its temp variable. ... Reassigning >> to temp variables isn't really something that is supported by the current > > infrastructure. > > Hmmm... During the LetNode discussion, I wasn't really thinking > of the variables as being temp variables in the same sense as > those used for intermediate results. Rather, they would behave > more like real local variables, just as if the user had written > out the corresponding code. > > Does thinking about it from that perspective help at all?
It may. So you'd basically introduce a third kind of variable (+ name prefix), similar to a NameNode but with limited scope. That might actually work better than what we have now. Worth a try. Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
