[PEAK] Trellis: setting @maintain attributes / initialization rollback

Phillip J. Eby pje at telecommunity.com
Wed Oct 8 19:08:28 EDT 2008


At 01:19 AM 10/9/2008 +0300, Sergey Schetinin wrote:
>Works well with my tests. Thanks!
>
>Regarding corner cases, for example the TempConverter from README can
>be initialized with TempConverter(F=0, C=0), which breaks the data
>integrity.

Interesting point, but isn't it possible to do that already?  Not 
that that necessarily means it's *good*, mind you.  ;-)


>Such use of maintain rules would make sense in some cases
>and one can add another maintain rule to check .was_set for both cells
>to control such cases, but I thought I'd mention it anyway, because it
>seems somewhat relevant.

Yeah, certainly another data point to consider.




More information about the PEAK mailing list