[Python-Dev] special method lookup: how much do we care?

Benjamin Peterson benjamin at python.org
Sat May 9 00:54:23 CEST 2009


2009/5/8 Terry Reedy <tjreedy at udel.edu>:
> 2. I am puzzled why those two methods should be extra special, but don't
> know enough to say more.

They're not supposed to be special, which is the reason for this
message. :) Currently the interpreter will call __getattr__ when
looking them up. This is not the way it should be.




-- 
Regards,
Benjamin


More information about the Python-Dev mailing list