[Cython] gcc error when compiling cython

2015-08-17 Thread Thomas Holenstein
Hey all, recently, I had a gcc compile time error with cython. The work around is obvious, as the problem happens when a cdef-ed numpy array in a function is unused. Nevertheless, I feel it's useful to report the problem I had. The following is a test case

Re: [Cython] Cython 0.23: long + int == int

2015-08-17 Thread Stefan Behnel
Jakub Wilk schrieb am 14.08.2015 um 10:41: > $ cython --version > Cython version 0.23 > $ python2.6 --version > Python 2.6.8 > $ cat testlong.pyx > def f(x): >return 0L + x > $ python2.6 -c 'import pyximport as p; p.install(); import testlong; print > type(testlong.f(42))' > > > I added a

Re: [Cython] Cython 0.23 released

2015-08-17 Thread Antoine Martin
On 17/08/15 14:14, Stefan Behnel wrote: > Stefan Behnel schrieb am 17.08.2015 um 08:17: >> Antoine Martin schrieb am 17.08.2015 um 06:09: >>> On 09/08/15 13:54, Antoine Martin wrote: I've just hit a regression with 0.23: a recursion loop generating code for this particular pyx: http:

Re: [Cython] Cython 0.23 released

2015-08-17 Thread Stefan Behnel
Stefan Behnel schrieb am 17.08.2015 um 08:17: > Antoine Martin schrieb am 17.08.2015 um 06:09: >> On 09/08/15 13:54, Antoine Martin wrote: >>> I've just hit a regression with 0.23: a recursion loop generating code >>> for this particular pyx: >>> http://xpra.org/trac/browser/xpra/trunk/src/xpra/cod