[Python-Dev] INPLACE_ADD and INPLACE_MULTIPLY oddities in ceval.c

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 28 07:19:58 CEST 2006


Travis E. Oliphant wrote:

> I think this can be fixed easily by first checking the sequence slot for 
> a sq_concat function before calling PyNumber_InPlaceAdd.

However, if this *is* fixed, it looks like it's going to
break NumPy, in the sense that it will no longer be able
to force an arithmetic interpretation for "+" when adding
a sequence to an array.

Greg


More information about the Python-Dev mailing list