ago wrote: > Is it possible to have a default value associated python objects? I.e. > to flag an attribute in such a way that the assignment operator for the > object returns the default attribute instead of the object itself, but > calls to other object attributes are properly resolved? (I don't think > so, but I am not sure)
You're descriptions aren't very clear. Maybe you can put that in a greater context - what do you want to achieve? And the assignment-operator isn't overloadable - that is for sure! Diez -- http://mail.python.org/mailman/listinfo/python-list