On Tue, May 12, 2009 at 12:58 PM, Dag Sverre Seljebotn
<[email protected]> wrote:
> Lisandro Dalcin wrote:
>> I want to raise your attention to ticket #287, as my patch could be
>> controversial. I even changed my mind, and fixed my previous work on
>> all this to prefer 'nb_int' over 'nb_long' in __Pyx_PyNumber_Int().
>> This change was not a quick hack to get things solved, but rather a
>> hard to take decision after diving core CPython sources from 2.3 to
>> 2.7. IMHO, the 'nb_long' slot should have been deprecated long, long
>> ago in core CPython. I would like this to be discussed a bit more
>> before next release.
>
> I don't think I'm qualified to comment on this. Do you consider it safe
> enough yourself for inclusion in Cython 0.11.2, or is it blocked pending
> review by Stefan or Robert?
>

IMHO, it is ready for 0.11.2, but I would like to know other opinions,
just in case... As I said, the patch could be controversial, specially
the change for Py2 in Pyx_PyNumber_Int(), where the "nb_int" slot is
preferred over "nb_long" slot.

If Robert/Stefan does not comment on this on a couple of days (and
provide an example showing the brokenness of my approach ;-) ), I
would just push the patch.



-- 
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

Reply via email to