@x.setter property implementation

Floris Bruynooghe floris.bruynooghe at gmail.com
Sun Apr 6 12:16:52 EDT 2008


Hello

I found out about the new methods on properties, .setter()
and .deleter(), in python 2.6.  Obviously that's a very tempting
syntax and I don't want to wait for 2.6...

It would seem this can be implemented entirely in python code, and I
have seen hints in this directrion.  So before I go and try to invent
this myself does anyone know if there is an "official" implementation
of this somewhere that we can steal until we move to 2.6?


Cheers
Floris



More information about the Python-list mailing list