[Cython] Bug in Cython producing incorrect C code

Konrad Hinsen konrad.hinsen at fastmail.net
Tue Jan 24 12:37:50 CET 2012


Compiling the attached Cython file produced the attached C file which
has errors in lines 532-534:

  __pyx_v_self->xx = None;
  __pyx_v_self->yy = None;
  __pyx_v_self->zz = None;

There is no C symbol "None", so this doesn't compile.

I first noticed the bug in Cython 0.15, but it's still in the latest
revision from Github.

Konrad.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.pyx
Type: application/octet-stream
Size: 147 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20120124/dfc2c327/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.c.gz
Type: application/x-gzip
Size: 10310 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20120124/dfc2c327/attachment.bin>


More information about the cython-devel mailing list