[Python-Dev] Re: FYI (was: watching mutables?)

Samuele Pedroni pedronis@bluewin.ch
Sun, 29 Sep 2002 17:23:35 +0200


"Jiba" <jiba@tuxfamily.org> ha scritto nel messaggio
news:3d96f25a$0$498$7a628cd7@news.club-internet.fr...
>
> Try EditObj (http://oomadness.tuxfamily.org/en/editobj) and look at the
> module editobj.eventobj.
>
> It does exactely what you need, but it is quite a hack...

FYI in Python 2.3: __class__ will be immutable for builtin types, and only
mutable for (user) subtypes.

See:

http://mail.python.org/pipermail/python-checkins/2002-August/028681.html

regards.