Ben Finney a écrit :
Brad Harms <fearsomedragon...@gmail.com> writes:
(snip)

2.) Attributes whose values are determined or assigned dynamically by
indirectly calling a function (like properties and instancemethods)

Yes, the term “property” seems to do what you want.

The property type is just one possible application of the descriptor protocol which provides most of the support for computed attributes in Python, so it might be way too restrictive.

The value of an instance method is *not* determined dynamically:

It is, actually. The function type implements the protocol descriptor, with the __get__ method returning an instancemethod object.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to