instance.attribute lookup

Christian Heimes christian at python.org
Fri Oct 5 19:26:32 EDT 2012


Am 05.10.2012 19:39, schrieb Ethan Furman:
> I'm thinking step 1 is flat-out wrong and doesn't exist.  Does anybody
> know otherwise?

The answer is confusing and also wrong. For instance it ignores the
existence of __slots__, metaclasses and the different lookup strategy of
__special__ methods in old style and new style classes.




More information about the Python-list mailing list