[Python-Dev] Augmented assignment

Christopher Petrilli petrilli@amber.org
Fri, 16 Jun 2000 15:42:46 -0400


Paul Prescod [paul@prescod.net] wrote:
> That's true, but we should not be ashamed to steal good ideas from other
> languages. Probably the only people who would miss __getattr__ would be
> SmallTalk programmers and the original proponents of the various
> operator overloading features may well have come from C++.

Actually as a good Talker, I write methods for everything, so I almost 
nver use __getattr__ except as a way to force people to use methods
and not directly access attributes. Long story.

Chris
-- 
| Christopher Petrilli
| petrilli@amber.org