On Jun 10, 12:34 pm, Manavan wrote:
> Hello everyone,
> Since the real world objects often needs to be deleted even if they
> have some reference from some other object, I am going to use this
> approach to better model this situation, by cleaning up the attributes
> and assigning self.__class_
On Jun 11, 5:34 am, Manavan wrote:
> Since the real world objects often needs to be deleted even if they
> have some reference from some other object [...]
>From this it sounds like you're trying to implement some form of weak
referencing. Are you familiar with weakref?
"A weak reference to an o
Manavan wrote:
Hello everyone,
Since the real world objects often needs to be deleted even if they
have some reference from some other object, I am going to use this
approach to better model this situation, by cleaning up the attributes
and assigning self.__class__ to a different class.
Any c
Hello everyone,
Since the real world objects often needs to be deleted even if they
have some reference from some other object, I am going to use this
approach to better model this situation, by cleaning up the attributes
and assigning self.__class__ to a different class.
Any comment on this ap