Stefan Behnel wrote:
> Robert Bradshaw wrote:

<SNIP>

>> One difficulty is handling dependancies between pxd files, for
>> example if a typedef or cdef class changes in one, then everything
>> that cimports and uses it changes.
> 
> Cython already keeps track of module dependencies (a Pyrex feature). But
> I'm not sure if that extends to inter-pxd dependencies. It should be easy
> to support that, though. Then the dependency list would tell you if you
> have to re-parse a pickled .pxd.
> 
> Stefan

There is code in Sage that does that written by RobertWB and two other 
Sage devs. And we even opened a ticket to get that code into Cython 
itself since it is useful to other projects. For the ticket see

http://trac.sagemath.org/sage_trac/ticket/4664

Writing that code took a while to get right and every time we touch it 
new and interesting bugs are fixed and some times even new ones added :)

Cheers,

Michael

> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
> 

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to