Hi,
On 23/04/15 06:25, Robert Bradshaw wrote:
> I've made this an explicit error.
thanks; I hope this will save future users some WTFs.
~mic_e
signature.asc
Description: OpenPGP digital signature
___
cython-devel mailing list
cython-devel@python
Extern functions can't have default arguments. I've made this an
explicit error.
On Wed, Apr 22, 2015 at 1:07 PM, Michael Enßlin wrote:
> Hi everybody,
>
> Cython 0.21.1, from Debian Sid, and Cython 0.22, from Gentoo, produce
> invalid C Code for the following .pyx file:
>
>
>
> $ cat test.pyx
>
Hi everybody,
Cython 0.21.1, from Debian Sid, and Cython 0.22, from Gentoo, produce
invalid C Code for the following .pyx file:
$ cat test.pyx
cimport cpython
cdef extern from "test.h":
cdef void foo(int i = 0)
def bar(self):
foo(0)
$ cat test.h
void foo(int i);
$ cython test.py