[Cython] assert statements in Cython

Stefan Behnel stefan_ml at behnel.de
Fri Jun 13 20:14:51 CEST 2008


Johannes Wienke wrote:
> is there anything special about using assert statements in Cython? I've
> noticed that something like assert foo != NULL results in returning
> None, if the method containing this statement really gets foo containing
> NULL.

Would you have some example code?

Stefan



More information about the Cython-dev mailing list