[Cython] bug in cythonize dependency tracking?

Felix Salfelder felix at salfelder.org
Sun Aug 25 16:52:31 CEST 2013


Hi there.

Lets say, i have foo.pyx. and use cythonize() to generate foo.c.
Calling cythonize() a second time will correctly do nothing, because
foo.c has been modified after foo.pyx.

If I now add foo.pxd, cythonize will correctly update foo.c. In general
foo.c now looks different. But: Deleting foo.pxd and running cythonize
another time will fail (=do nothing) and leave foo.c in the wrong state.

This might be a bug, depending on whether cythonize is meant to refresh
output files consistently.

regards
felix


More information about the cython-devel mailing list