Dag Sverre Seljebotn wrote:
> Pure optimization transforms should always be done after analysis IMO, 
> so I guess I consider FlattenInListTransform misplaced in the pipeline 
> (though I don't know it well so I'm open for there being reasons I'm 
> overlooking).
>   
Hehm. Such as getting the BoolBinopNodes analysed :-)

So when BoolBinopNode was on the old temp system it had to be done 
before analysis, but now that it isn't one should be able to move 
FlattenInListTransform until after analysis. One just needs to add some 
code copying over type information etc. is needed (i.e construct the new 
BoolBinopNodes be specifying type=item.type...).

Of course, if we can manage to create a 
TempsBlockNode/StatAsExprNode-combo that can be properly analysed the 
implementation will be slightly less verbose.

Dag Sverre
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to