On 2016-03-11 10:34, Robert Bradshaw wrote:
On a more pragmatic note, includes add complexities to dependency
tracking

Because you *intentionally* make things complicated. The refused pull request 392 could actually make dependency checking simpler by treating .pxd and .pxi files more alike.

Every single case I can think of would be better done by using
cimports or preprocessing via a proper templating (or at least
preprocessing) utility.

The difference is that such preprocessing will be external to Cython, which will make the build process more complex. You need to figure out what to do with the files generated by the templating and you need to get dependency checking right... I must admit that I am quite happy that Cython solves these problems for me.

Do you have an example of a project which actually uses such templating/preprocessing?


Jeroen.
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to