On 11 June 2012 20:55, Pauli Virtanen <p...@iki.fi> wrote: > 11.06.2012 21:23, Pauli Virtanen kirjoitti: >> Hi, >> >> 11.06.2012 21:16, mark florisson kirjoitti: >> [clip] >>> Yeah, there was some weird bug with PyIndex_Check() not operating >>> properly. Could you retry with the latest master? >> >> Doesn't seem to work in 5a0effd0 :( > [clip] > > Uhh, Numpy header arrayobject.h -> npy_common.h contains this > > #if (PY_VERSION_HEX < 0x02050000) > ... > #undef PyIndex_Check > #define PyIndex_Check(op) 0 > ... > > which nicely overrides the fixed PyIndex_Check defined by Cython. > Time to fix that, I guess. > > I don't see reasonable ways to work around this in Cython... > > Pauli > > _______________________________________________ > cython-devel mailing list > cython-devel@python.org > http://mail.python.org/mailman/listinfo/cython-devel
Ah, thanks! Stefan and I were kind of baffled by PyIndex_Check failing, I guess we should have run cpp on our source :) _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel