[Cython] "__ipow__ has wrong number of arguments" is back here

Lisandro Dalcin dalcinl at gmail.com
Thu Mar 3 22:57:28 CET 2011


On 3 March 2011 18:05, Robert Bradshaw <robertwb at math.washington.edu> wrote:
> On Wed, Mar 2, 2011 at 5:47 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
>>
>> BTW, do you all agree with this change?
>
> To summarize, the C signature of ipow takes three arguments, but the
> third is often/always garbage, so we shouldn't use it?
>

Yes.

>> I expect this change to break some code, particularly in Sage...
>
> It'll be a compile time error fixing a potential runtime crash, so I
> think that's a good move.

OK,


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169


More information about the cython-devel mailing list