Should proxy objects lie about their class name?
John J. Lee
jjl at pobox.com
Mon Nov 26 12:16:01 EST 2007
jjl at pobox.com (John J. Lee) writes:
> Not much to add to the subject line. I mean something like this:
>
> ProxyClass.__name__ = ProxiedClass.__name__
>
>
> I've been told that this is common practice. Is it? Would this
> surprise you if you ran into it in a debugging session?
Does nobody have an opinion on this? Pull your socks up, c.l.py!
<insert reference to argument sketch here>
John
More information about the Python-list
mailing list