[Python-au] New Python Class Features

David Arnold davida@pobox.com
Fri, 17 Jan 2003 16:03:06 +1100

-->"Dave" == Dave Cole <djc@object-craft.com.au> writes:

  >> And so on ... (from memory, there was a caveat lurking here about
  >> cyclic lookups, but I'm not in front of the appropriate computer
  >> at the moment).

  Dave> As far as I can remember, you just have to make sure that you
  Dave> do not invoke __setattr__() in __init__()

i've also been caught when using multiple inheritance: a class with
__{get,set}attr__ methods can hide the attributes of the second and
subsequent super-classes unless you're extra careful.