[myhdl-list] _Waiter.diff [was: intbv.saturate, intbv.wrap]
Brought to you by:
jandecaluwe
|
From: Thomas T. <tho...@de...> - 2008-07-17 07:55:52
|
I just started to look at Christophers script. At first: Instead of > if not isinstance(obj, list) and not isinstance(obj, numpy.ndarray): in his _Waiter.diff, I would prefer the more general approach: > if not hasattr(obj,"__iter__"): In the hope that it is not too general. |