[Cython] a C++ wrapping wishlist

2015-05-21 Thread Stefan Behnel
Someone wrote a list of shortcomings after wrapping some C++ code: http://blog.marcus-brinkmann.de/2014/07/31/cython-trouble/ A couple of these issues are due to misunderstandings (specifically the "imports" section) or now-fixed bugs (post is almost a year old), but it seems that some of them ar

[Cython] Broken link to CEP 516

2015-05-21 Thread Jeroen Demeyer
At http://docs.cython.org/src/reference/compilation.html#compiler-directives there are two links to "CEP 516" but they are broken. Jeroen. ___ cython-devel mailing list cython-devel@python.org https://mail.python.org/mailman/listinfo/cython-devel

Re: [Cython] Broken link to CEP 516

2015-05-21 Thread Stefan Behnel
Jeroen Demeyer schrieb am 21.05.2015 um 14:21: > http://docs.cython.org/src/reference/compilation.html#compiler-directives > there are two links to "CEP 516" but they are broken. Thanks. The problem seems to be an incorrect redirect to "github.../wikienhancements/" instead of "github.../wiki/enhan

Re: [Cython] Misleading error message when assigning function pointers with differing except* declarations

2015-05-21 Thread Stefan Behnel
Michael Enßlin schrieb am 07.05.2015 um 15:13: > consider the following example: > > $ cat demo.pyx > cdef void (*foo)() > > cdef void bar() except*: > pass > > foo = bar > > > > $ cython demo.pyx > > Error compiling Cython file: >

Re: [Cython] Cython generates invalid C code for some generator expressions in cdef functions

2015-05-21 Thread Stefan Behnel
Michael Enßlin schrieb am 08.05.2015 um 14:37: > Take the following example: > > > $ cat t2.pyx > cdef void read_callback(): > foo = b"asdf" > bar = (c for c in foo) > > > > $ cython t2.pyx > > > > $ gcc -I/usr/include/python3.4m t2.c > t2.c: In function ‘__pyx_f_2t2_read_callback’:

Re: [Cython] a C++ wrapping wishlist

2015-05-21 Thread Ian Henriksen
On Thu, May 21, 2015 at 2:13 AM Stefan Behnel wrote: > Someone wrote a list of shortcomings after wrapping some C++ code: > > http://blog.marcus-brinkmann.de/2014/07/31/cython-trouble/ > > A couple of these issues are due to misunderstandings (specifically the > "imports" section) or now-fixed bu