[Python-ideas] Should function attributes be properties?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 3 02:56:43 CEST 2007


Joel Bender wrote:

> Is this a bug?  Or was it not in the scope of what properties would be 
> used for?

The latter. To work, a property has to live in the
class of an object, not an attribute of the object
itself.

--
Greg



More information about the Python-ideas mailing list