sysfault wrote: > On Sun, 21 Aug 2005 17:01:13 -0700, Jeffrey E. Forcier wrote: > > >>Amusingly, I was just perusing these links earlier today. Go go Firefox >>history search! >> >>http://www.python.org/2.2/descrintro.html >>http://users.rcn.com/python/download/Descriptor.htm > > > > Are descriptors the same thing as decorators?
No. In brief: Decorators are a mechanism whereby a function or method can be transparently wrapped by another function. Descriptors are used to hook programmed functionality into the basic access mechanisms of object attributes. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list