Assigning to self.__class__

Heiko Wundram modelnine at
Thu Jan 26 03:45:54 EST 2006

bruno at modulix wrote:
> Paul McGuire wrote:
>> or am I taking advantage of a fortuitous accident, which may get
>> undone at a future time?
> It's certainly not  a fortuitous accident.

And even the (printed) cookbook has examples which assign to
self.__class__... I guess this means this feature isn't going to go away
soo. ;-)

--- Heiko.

More information about the Python-list mailing list