[PEAK] @action rules in Trellis SVN

Phillip J. Eby pje at telecommunity.com
Wed Aug 8 19:55:46 EDT 2007


At 04:22 PM 8/8/2007 -0700, Grant Baillie wrote:
>I'm seeing one unexpected change after this commit. The following
>code works in r2379:
>
>     >>> d = ChangeableRectangle(width=100, height=150)
>     >>> d.show # turn on the optional show rule for display purposes
>     Rectangle((0, 0), (100, 150), (100, 150))
>     >>> d.wider = 20
>     Rectangle((0, 0), (120, 150), (120, 150))
>
>However, in r2380 I see
>
>>Failed example:
>>     d.wider = 20
>>Expected:
>>     Rectangle((0, 0), (120, 150), (120, 150))
>>Got nothing
>
>The difference between this and what's covered by the existing
>doctest is that I assign a value in the constructor. So far as I can
>tell, this shouldn't change the dependency graph, but that appears
>not to be the case?

Can you send me the changed code?

One of the changes in the new version is that auto-activation of 
non-optional cells may take place a little later than in older 
version.  However, it should not affect dependency order AFAIK.




More information about the PEAK mailing list