[Cython] Refactor or surgery on global constants?

Robert Bradshaw robertwb at math.washington.edu
Fri Aug 1 06:58:07 CEST 2008


On Jul 31, 2008, at 6:43 PM, Greg Ewing wrote:

> 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.

+1 from me too.

- Robert




More information about the Cython-dev mailing list