Re: extracting variables accessed and written from function / rule-based function calls

2010-11-02 Thread Daniel
> >> You might be interested by the story of how AstraZeneca tackled that > >> kind of problem in PyDrone:http://www.python.org/about/success/astra/ that is interesting! So it seems they store the values in a dictionary. For each value they associate a function that gets called when the value is n

Re: extracting variables accessed and written from function / rule-based function calls

2010-11-01 Thread MRAB
On 01/11/2010 23:38, James Mills wrote: On Tue, Nov 2, 2010 at 9:23 AM, MRAB wrote: You might be interested by the story of how AstraZeneca tackled that kind of problem in PyDrone: http://www.python.org/about/success/astra/ This might be a good use-case (if I'm reading the post correctly) for

Re: extracting variables accessed and written from function / rule-based function calls

2010-11-01 Thread James Mills
On Tue, Nov 2, 2010 at 9:23 AM, MRAB wrote: > You might be interested by the story of how AstraZeneca tackled that > kind of problem in PyDrone: http://www.python.org/about/success/astra/ This might be a good use-case (if I'm reading the post correctly) for "Traits" (1) cheers James 1. http://p

Re: extracting variables accessed and written from function / rule-based function calls

2010-11-01 Thread MRAB
On 01/11/2010 22:44, Daniel wrote: Hello, I have a class with some members that depend on others. Initially most of them are None. For each one there is a function to calculate it as soon as some other dependencies become available. In the end, all values can be computed by the right sequence o

extracting variables accessed and written from function / rule-based function calls

2010-11-01 Thread Daniel
Hello, I have a class with some members that depend on others. Initially most of them are None. For each one there is a function to calculate it as soon as some other dependencies become available. In the end, all values can be computed by the right sequence of function applications. class A: