Examples of descriptors?

Edward C. Jones edcjones at erols.com
Sun Jun 1 17:33:22 CEST 2003

Raymond Hettinger wrote:
> "Edward C. Jones"
>>What, exactly, is a "descriptor"? The closest thing to a definition that
>>I can find is: a class that defines __get__, __set__, and __delete__.
>>Where can I find some examples?
> Here is a draft write-up on descriptors:
>     http://tinyurl.com/d63d
> Parts to be added:
> * data descriptors
> * more detail behind object.__getattribute__
> Comments are welcome.

Very good essay. It's what I was looking for.

Any idea when new classes will be documented in the official Python 

Ed jones

More information about the Python-list mailing list