Re: __getattribute__ and __getattr__
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: __getattribute__ and __getattr__

From: Terry Reedy <tjreedy@udel.edu>
Date: Mon May 30 2005 - 03:15:27 CEST

"Gigi" <gigi-s@bigfoot.com> wrote in message
news:d7dgd4$29v$1@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
Received on Thu Sep 29 16:16:08 2005