Re: [Cython] Regresion in 0.19

2013-05-01 Thread Stefan Behnel
Stefan Behnel, 01.05.2013 09:45: > Lisandro Dalcin, 01.05.2013 09:14: >> See the example below, the last hunk fails with Cython 0.19. It seems >> Cython is confusing attribute access with constness. >> >> >> CYTHON=cython >> >> echo 'cdef import from *:' > defs.pxd >> echo 'enum:SIZE' >> d

Re: [Cython] Regresion in 0.19

2013-05-01 Thread Stefan Behnel
Lisandro Dalcin, 01.05.2013 09:14: > See the example below, the last hunk fails with Cython 0.19. It seems > Cython is confusing attribute access with constness. > > > CYTHON=cython > > echo 'cdef import from *:' > defs.pxd > echo 'enum:SIZE' >> defs.pxd > > echo 'from defs cimport *'

Re: [Cython] Regresion in 0.19

2013-05-01 Thread Stefan Behnel
屈鹏, 01.05.2013 09:37: > Why is cython so slow? This looks like thread-hijacking to me. Maybe you want to elaborate on this in a new post to the cython-users mailing list. Stefan ___ cython-devel mailing list cython-devel@python.org http://mail.python.o

Re: [Cython] Regresion in 0.19

2013-05-01 Thread 屈鹏
Why is cython so slow? 2013/5/1 Lisandro Dalcin > See the example below, the last hunk fails with Cython 0.19. It seems > Cython is confusing attribute access with constness. > > > CYTHON=cython > > echo 'cdef import from *:' > defs.pxd > echo 'enum:SIZE' >> defs.pxd > > echo 'from def

[Cython] Regresion in 0.19

2013-05-01 Thread Lisandro Dalcin
See the example below, the last hunk fails with Cython 0.19. It seems Cython is confusing attribute access with constness. CYTHON=cython echo 'cdef import from *:' > defs.pxd echo 'enum:SIZE' >> defs.pxd echo 'from defs cimport *' > code1.pyx echo 'cdef char buf[SIZE]' >> code1.pyx