[Cython] very simple iterator crashing Cython-0.11
Stefan Behnel
stefan_ml at behnel.de
Tue Apr 14 21:24:40 CEST 2009
Stefan Behnel wrote:
> The syntax of the cdef statement is waaay too forgiving. It even allows you
> to write
>
> cdef pass
>
> for a "pass" statement.
I now wonder why "pass" appears inside the "cdef" parsing function at all.
I don't mean using "pass" inside of a cdef block, just right in the
declaration itself. Is there any combination of "cdef" with "pass" that
makes any sense? Any kind of cdef-extern, struct/enum/union or class
declaration line?
Stefan
More information about the Cython-dev
mailing list