[Cython] C99 comment in __Pyx_PyObject_Append

Andrew Collette collette at physics.ucla.edu
Wed Jun 3 09:07:18 CEST 2009


Hi,

I noticed there's an errant C99-style comment in the generated C code
for the method __Pyx_PyObject_Append:

return Py_None; // this is just to have an accurate signature

Unfortunately this breaks compilation with the -ansi option, which is
currently how my project is compiled on OS X.  This is with the
current public version of Cython (0.11.2).  As a temporary workaround
I'm using the += operator instead of append().

Andrew Collette


More information about the Cython-dev mailing list