Updated Dynamic: has _dynamic and last_value slots. _dynamic is set to True if the Dynamic's value is callable or is an iterator (i.e. is dynamic). A Dynamic Parameter's last_value is stored inside the Parameter itself when the Parameter is only set on the class, but is stored as _X_param_value_last in the owning *object* if the Parameter's value has been set on the object (might not be final). Number now inherits from Dynamic. If Number is set to a dynamic value, the bounds are checked at __get__ time rather than at __set__ time (which is what happens for non-dynamic values). Replaced DynamicNumber with a dummy that fills the two previous (distinct) uses (i.e. it replaces class Parameter declarations of DynamicNumber with Number, and it replaces using DynamicNumber to wrap number generators as values for Number parameters). New Dynamic code not yet finished, but appears to be working so far.
Updated Dynamic: has _dynamic and last_value slots. _dynamic is set to True if the Dynamic's value is callable or is an iterator (i.e. is dynamic). A Dynamic Parameter's last_value is stored inside the Parameter itself when the Parameter is only set on the class, but is stored as _X_param_value_last in the owning *object* if the Parameter's value has been set on the object (might not be final). Number now inherits from Dynamic. If Number is set to a dynamic value, the bounds are checked at __get__ time rather than at __set__ time (which is what happens for non-dynamic values). Replaced DynamicNumber with a dummy that fills the two previous (distinct) uses (i.e. it replaces class Parameter declarations of DynamicNumber with Number, and it replaces using DynamicNumber to wrap number generators as values for Number parameters). New Dynamic code not yet finished, but appears to be working so far.


ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history,ioam/svn-history