Jørgen P. Tjernø wrote:
> Jason Evans wrote:
>> Jørgen P. Tjernø wrote:
>>> This code, specifically the list comprehension, generates C code that 
>>> gives me:
>>>    warning: implicit declaration of function ‘PyBool_CheckExact’

That's a known bug in 0.10.3. It's fixed in 0.11.


>> Use 'bint' instead of 'bool'.  (I've also tripped on this at various times.)
> Ah, thanks a lot. That fixes it nicely!

That's the right thing to do anyway. "bint" is a C type, "bool" is a Python
type.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to