A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-June/004697.html below:

[Python-Dev] Augmented assignment

[Python-Dev] Augmented assignment [Python-Dev] Augmented assignmentJeremy Hylton jeremy@beopen.com
Fri, 16 Jun 2000 16:01:18 -0400 (EDT)
I'm leery of acquisition, but we gotta have __getattr__.

Jeremy

>>>>> "MAL" == M -A Lemburg <mal@lemburg.com> writes:

  MAL> Paul Prescod wrote:
  >> > Augmented assignments are unPythonic because they don't add any
  >> > new functionality to the language.  From what I've seen, all
  >> > people, who ever missed it, were experienced C-programmers.
  >> 
  >> 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++.

  MAL> Don't forget the crowd of people doing environmental
  MAL> acquisition (you know who they are ;-).

  MAL> Honestly, I think that __getattr__ is one of the most useful
  MAL> hooks available on Python objects.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4