Re: Problem when subclass instance changes base class instance variable

2005-04-16 Thread Peter Otten
Gerry Sutton wrote: > I have noticed a strange behavior when using a constant identifier to > initialize an instance list variable in a base class and then trying to > modifying the list in subclasses by using either the list.extend method or > even by having the subclass create a whole new list i

Problem when subclass instance changes base class instance variable

2005-04-15 Thread Gerry Sutton
Hi All! I have noticed a strange behavior when using a constant identifier to initialize an instance list variable in a base class and then trying to modifying the list in subclasses by using either the list.extend method or even by having the subclass create a whole new list in the variable.