Type emulation issues with new style classes

Michele Simionato michele.simionato at poste.it
Sun Feb 29 05:16:26 EST 2004


"Chris" <feb04.20.netman at spamgourmet.com> wrote in message news:<6O40c.5969$qX5.1972 at nwrdny03.gnilink.net>...
> I tried a couple variation of that, and __getattr__, when defined in a
> metaclass is never called when accessing an attribute on an instance of a
> class derived from that metaclass.

You may also look at this bug report:

http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=789262

The special lookup of special attributes has bitten at least three or four
person on this mailing list in the last year or so: I maintain that
it is a documentation bug.

        Michele Simionato



More information about the Python-list mailing list