On Mon, Mar 16, 2009 at 6:07 PM, Robert Bradshaw <[email protected]> wrote: > On Mar 16, 2009, at 7:54 AM, Dag Sverre Seljebotn wrote: > > After reading all the discussion on all the lists (thanks Dag for > asking on NumPy as well), my vote is also for the default semantics > for "x%y" to be Python semantics.
Well, at this point in the thread I feel like my opinion would be irrelevant, but I'm still -1. > > I'm less sure about how to expose the C operations, but just > accepting a 20-30% slowdown is not acceptable. We should provide > cython.cmod/cdiv, but I feel strongly we should provide an infix > option as well. If Python semantics is chosen, I would also ask for a compiler directive (perhaps comand line disabled) to select C semantics. In all this thread, backward compatibility with Cython itself and Pyrex was not taken into account. A compiler directive will ease a lot user code updates for the new semantics. -- 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
