@x.setter property implementation

Floris Bruynooghe floris.bruynooghe at gmail.com
Mon Apr 7 08:30:18 EDT 2008


On Apr 6, 6:41 pm, "Daniel Fetchinson" <fetchin... at googlemail.com>
wrote:
> > 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?
>
> The 2.6 source?

Have been grepping all over the place and failed to find it.  I found
the test module for them, but that doesn't get me very far...



More information about the Python-list mailing list