[Pyrex] Why were .pxd files invented?

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Apr 2 21:29:04 UTC 2007


Leif Strand wrote:

> # dependencies such as this one could be output by Pyrex itself, using
> # "pyrex -M" or "pyrex -MM"

The problem with that is it requires processing the entire
Pyrex file to discover the dependencies. If you have to do
that every time you type "make", you might as well not
bother with dependency tracking at all.

If you're suggesting an extra "make depend" step, that's
not satisfactory, as it's error-prone -- you have to
remember to do it manually when you change something that
affects an interface.

--
Greg



More information about the Pyrex mailing list