call by reference howto????

Aahz aahz at
Fri Feb 29 19:19:44 CET 2008

In article <mailman.1430.1204294373.9267.python-list at>,
Steve Holden  <steve at> wrote:
>As near as I can make out you appear to want to have thang delegate 
>certain of its method to thang.this. The easiest way to do that would be 
>to implement a __getattr__() in the Thang class to do so, but remember 
>that it won't be called for cases where the class has a real attribute 
>with the correct name.

...unless thang is a new-style class using __getattribute__()...

(Just a drive-by nitpicking. ;-)
Aahz (aahz at           <*>

"All problems in computer science can be solved by another level of     
indirection."  --Butler Lampson

More information about the Python-list mailing list