On 12 March 2010 15:01, Stefan Behnel <[email protected]> wrote: > Lisandro Dalcin, 12.03.2010 07:21: >> What do you think? I'd be surprised if I'm not missing something, but >> this is an starter... > > Hmm, interesting. Looks like I forgot to open a ticket for that when I went > through the Py3 syntax differences lately. So you'll have to do that > yourself (just for documentation purposes, pushing this fix is fine with > me, as long as you add a couple of tests). >
OK... I'll do it (though likely the next week) > >> if s.sy == ',': >> s.next() >> exc_value = p_simple_expr(s) >> + elif s.sy == 'IDENT' and s.systring == 'as': >> + s.next() >> + exc_value = p_simple_expr(s) > > Personally, I'd merge the two conditions into one, but that's just aesthetics. > Of course... -- Lisandro Dalcin --------------- 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
