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 <stefan...@behnel.de> 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. >> 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 the following: >> test.pyx:3:18: Not allowed in a constant expression >> test.pyx:3:18: Array dimension not integer >> test.pyx:3:20: Variable type 'char []' is incomplete >> >> The line is: >> cdef char[blah.FOO] x >> >> If I do: >> cdef char[int(blah.FOO)] x >> ... I get the following error: > > Thanks for the report. Looks like a known bug, however, already reported > and fixed: > > http://mail.python.org/pipermail/cython-devel/2013-May/003631.html > > Stefan > > -- > > --- > You received this message because you are subscribed to the Google Groups > "cython-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to cython-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel