2008/8/21 Jerome Laheurte <[EMAIL PROTECTED]>:
> Indeed. That's because in Release0_70,
> taskcoachlib.patterns.Composite.__getstate__ looks like this:
>
>     def __getstate__(self):
>         return dict(children=self.__children[:], parent=self.__parent)
>
> So, no actual copy of children instances, while in trunk it's
>
>     def __getstate__(self):
>         return dict(children=[child.copy() for child in
> self.__children],
>                     parent=self.__parent)
>
> The children copy is the root of the problem.

Oops, sorry. I must have been reading the Release0_70_Branch code,
thinking I was reading the trunk.

Cheers, Frank

Reply via email to