New-style classes and special methods

Andrew Bennetts andrew-pythonlist at
Mon Feb 24 07:51:13 CET 2003

On Mon, Feb 24, 2003 at 01:23:24AM -0500, Jp Calderone wrote:
>   Is this analysis of the behavior correct?  If so, what are the chances of
> this being "fixed"?

I believe you are correct -- new-style classes only check their class, not
instances, for the __magic_methods__.


More information about the Python-list mailing list