In the attached script (please not I'm a complete beast using regular expressions), I've attempted to transform Cython output related to checking errors, saving file and lineno, and jumping to label.
IMHO, the generated source is more readable. Additionally, the final source is slightly smaller in size. What do you think? BTW, I noticed that an expression like 'raise Something' generates the corresponding C code (jumping to label) one line below the actual call to __Pyx_Raise. Perhaps the goto should be emitted in the same line (in order the __LINE__ macro is used at the right line). Sorry is this is to much noise. Please ask me to stop with all this crap at any point. -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594
cycompact
Description: Binary data
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
