[Cython] Bug in Cython producing incorrect C code
stefan_ml at behnel.de
Thu Jan 26 20:27:43 CET 2012
mark florisson, 26.01.2012 20:15:
> On 26 January 2012 18:53, Stefan Behnel wrote:
>> mark florisson, 26.01.2012 16:20:
>>> I think this problem can trivially be solved by creating a ProxyNode
>>> that should never be replaced by any transform, but it's argument may
>>> be replaced. So you wrap self.rhs in a ProxyNode and use that to
>>> create your CloneNodes.
>> I can't see what a ProxyNode would do that a CloneNode shouldn't do anyway.
> It wouldn't be a replacement, merely an addition (an extra indirection).
What I was trying to say was that a ProxyNode would always be required by a
CloneNode, but I don't see where a ProxyNode would be needed outside of a
CloneNode. So it seems rather redundant and I don't know if we need a
separate node for it.
More information about the cython-devel