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
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
屈鹏, 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
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 *'
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
Nikita Nemkin, 26.04.2013 13:33:
> On Tue, 23 Apr 2013 10:19:15 +0600, Robert Bradshaw wrote:
>
>> Jumping into this thread late, improvements (1) and (3) certainly seem
>> beneficial. As far as documenting "attributes," I can't see much of a
>> use, but the downsides seem are low enough (accident
Stefan Behnel, 01.05.2013 11:50:
> Nikita Nemkin, 26.04.2013 13:33:
>> On Tue, 23 Apr 2013 10:19:15 +0600, Robert Bradshaw wrote:
>>
>>> Jumping into this thread late, improvements (1) and (3) certainly seem
>>> beneficial. As far as documenting "attributes," I can't see much of a
>>> use, but the
Eric Frederich, 01.05.2013 18:59:
> I have discovered a bug in Cython 0.19
>
> This code works in 0.15.1 but not in 0.19.
> I haven't tested it anywhere in between.
>
> The following 3 files are listed at the end of this email.
> blah.h
> blah.pxd
> test.pyx
>
> The errors I get are
Thanks,
Glad to see it was caught.
... and glad that there is a workaround for me at the moment with the +0
~Eric
On Wed, May 1, 2013 at 1:57 PM, Stefan Behnel wrote:
> Eric Frederich, 01.05.2013 18:59:
>> I have discovered a bug in Cython 0.19
>>
>> This code works in 0.15.1 but not in 0.19.
>