Re: @x.setter property implementation

2008-04-11 Thread Floris Bruynooghe
Oh, that was a good hint! See inline On Apr 11, 12:02 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > On Apr 11, 11:19 am, Floris Bruynooghe <[EMAIL PROTECTED]> > wrote: > [...] > > > > Unfortunatly both this one and the one I posted before work when I try > > > them out on the commandline but

Re: @x.setter property implementation

2008-04-11 Thread Arnaud Delobelle
On Apr 11, 11:19 am, Floris Bruynooghe <[EMAIL PROTECTED]> wrote: [...] > > Unfortunatly both this one and the one I posted before work when I try > > them out on the commandline but both fail when I try to use them in a > > module.  And I just can't figure out why. > > This in more detail: Imaging

Re: @x.setter property implementation

2008-04-11 Thread Floris Bruynooghe
On Apr 11, 10:16 am, Floris Bruynooghe <[EMAIL PROTECTED]> wrote: > On Apr 10, 5:09 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > > > > > On Apr 10, 3:37 pm, Floris Bruynooghe <[EMAIL PROTECTED]> > > wrote: > > > > On Apr 7, 2:19 pm, "Andrii V. Mishkovskyi" <[EMAIL PROTECTED]> wrote: > > > > >

Re: @x.setter property implementation

2008-04-11 Thread Floris Bruynooghe
On Apr 10, 5:09 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: > On Apr 10, 3:37 pm, Floris Bruynooghe <[EMAIL PROTECTED]> > wrote: > > > > > On Apr 7, 2:19 pm, "Andrii V. Mishkovskyi" <[EMAIL PROTECTED]> wrote: > > > > 2008/4/7, Floris Bruynooghe <[EMAIL PROTECTED]>: > > > > > Have been grepping

Re: @x.setter property implementation

2008-04-10 Thread Arnaud Delobelle
On Apr 10, 3:37 pm, Floris Bruynooghe <[EMAIL PROTECTED]> wrote: > On Apr 7, 2:19 pm, "Andrii V. Mishkovskyi" <[EMAIL PROTECTED]> wrote: > > > 2008/4/7, Floris Bruynooghe <[EMAIL PROTECTED]>: > > > >  Have been grepping all over the place and failed to find it.  I found > > >  the test module for t

Re: @x.setter property implementation

2008-04-10 Thread Floris Bruynooghe
On Apr 7, 2:19 pm, "Andrii V. Mishkovskyi" <[EMAIL PROTECTED]> wrote: > 2008/4/7, Floris Bruynooghe <[EMAIL PROTECTED]>: > > > > > 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... > > I think you should take a

Re: @x.setter property implementation

2008-04-07 Thread Andrii V. Mishkovskyi
2008/4/7, Floris Bruynooghe <[EMAIL PROTECTED]>: > > 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... > I think you should take a look at 'descrobject.c' file in 'Objects' directory. -- Wbr, Andrii Mishkovskyi

Re: @x.setter property implementation

2008-04-07 Thread Floris Bruynooghe
On Apr 6, 6:41 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]> 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 i

Re: @x.setter property implementation

2008-04-06 Thread Daniel Fetchinson
> 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

@x.setter property implementation

2008-04-06 Thread Floris Bruynooghe
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