Stefan, in this commit changeset: 1743:58406a9db77b user: Stefan Behnel <[email protected]> date: Sat Feb 21 21:08:46 2009 +0100 summary: unicode fixes for numpy test (untested, hopefully not breaking everything)
your broke everything ;-) BTW, I still want Cython to let me specify in an easy way that a string literal should match the one Python normally uses for identifier... For example: np.arange(10, dtype=s'i') Then s'i' literal whould be PyString in Py2 and PyUnicode in Py3... We could even make this syntax sugar really strict and reject non-pure-ASCII literals. We cannot assume all Python packages out there (specially those targeted for scientific users) are unicode-aware... My numpy installation (numpy-1.2.0 as packaged in Fedora 10) is a good example... Stefan, we really need this... IMHO this is a clear case where practicality beats purity.... -- 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
