[Cython] Refactor or surgery on global constants?

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 1 03:43:59 CEST 2008


Dag Sverre Seljebotn wrote:

> 2) Move these things from the scopes to code.global (a global context of 
> the CCodeWriter). This fits nicely with utility_code going over as well. 
> This means that for now each scope simply pipe their things into code 
> where they are merged, while in time then e.g. StringNode could intern a 
> string during code generation rather than bothering with it during 
> analysis.

This sounds good to me.

-- 
Greg


More information about the Cython-dev mailing list