__getattribute__ and __getattr__

Terry Reedy tjreedy at udel.edu
Sun May 29 21:15:27 EDT 2005


"Gigi" <gigi-s at bigfoot.com> wrote in message 
news:d7dgd4$29v$1 at sea.gmane.org...
> Hi,
> In the Python documentation regarding __getattribute__ (more attribute
> access for new style classes) it is mentioned that if __getattribute__
> is defined __getattr__ will never be called (unless called explicitely).
> Here is the exact citation:

Discrepancy reported in

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

Guido declared behavior right and doc wrong and in need of correction.

Terry J. Reedy






More information about the Python-list mailing list