When using nested list: ta.List(trait=ta.List(trait=ta.Int, items=False), items=False), inserting an inner list failed to register observers on that list. Appending and extending works as expected. The culprit was that the item validation was performed twice, thus probably registering the observers on the wrong object.
When using nested list:
ta.List(trait=ta.List(trait=ta.Int, items=False), items=False)
, inserting an inner list failed to register observers on that list. Appending and extending works as expected. The culprit was that the item validation was performed twice, thus probably registering the observers on the wrong object.Sample code illustrating the behavior:
Expected vs. actual output (without this PR, the green part is missing):