[Python-Dev] The decorator(s) module

Georg Brandl g.brandl at gmx.net
Fri Feb 17 19:35:55 CET 2006


Ian Bicking wrote:

>> Unfortunately, a @property decorator is impossible...
> 
> It already works!  But only if you want a read-only property.  Which is 
> actually about 50%+ of the properties I create.  So the status quo is 
> not really that bad.

I have abused it this way too and felt bad every time.
Kind of like keeping your hat on in the church. :)

Georg



More information about the Python-Dev mailing list