Hi, the ExprNodes.subexpr_nodes() method caches the values of children referenced in the "subexpr" attribute. However, it can easily get in the way of tree transforms that replace these subexpressions after they have been requested for the first time (e.g. during temp allocation). Two ways to deal with it:
a) remove the caching entirely. I'm not sure it's worth it anyway, since the list of subexpressions tends to be pretty short. b) make the tree visitor a bit smarter so that it clears the cache on any change (assuming that it can detect changes). Opinions? Stefan _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
