I'm not opposed to this, though the only place I could see it being very useful is in case Py_TYPE(o)->tp_name doesn't really point to a string because something really got messed up.
On Mar 2, 2009, at 1:08 PM, Lisandro Dalcin wrote: > After a fast view to Stefan's fix for #227, I noticed that Cython uses > bare "%s" format specifiers when using PyErr_Format() to print > Py_TYPE(o)->tp_name. > > Perhaps we should follow core CPython convention of using "%.200s" ?? > . Anyway, core CPython does not follow this rule at all places ;-) > > -- > 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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
