Re: Why do descriptors (and thus properties) only work on attributes.

2005-03-01 Thread Steve Holden
Steven Bethard wrote: Steve Holden wrote: Steven Bethard wrote: Antoon Pardon wrote: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object stood on it

Re: Why do descriptors (and thus properties) only work on attributes.

2005-03-01 Thread Steven Bethard
Steve Holden wrote: Steven Bethard wrote: Antoon Pardon wrote: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object stood on itself instead of being

Re: Why do descriptors (and thus properties) only work on attributes.

2005-03-01 Thread Antoon Pardon
Op 2005-02-28, Dima Dorfman schreef <[EMAIL PROTECTED]>: > On 2005-02-28, Antoon Pardon <[EMAIL PROTECTED]> wrote: >> Op 2005-02-28, Diez B. Roggisch schreef <[EMAIL PROTECTED]>: >>> I still don't see how that is supposed to work for "a lot of interesting >>> things". Can you provide examples for o

Re: Why do descriptors (and thus properties) only work on attributes.

2005-03-01 Thread Steve Holden
Steven Bethard wrote: Antoon Pardon wrote: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object stood on itself instead of being an attribute to an o

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Steven Bethard
Antoon Pardon wrote: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object stood on itself instead of being an attribute to an other object. Not sure

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Dima Dorfman
On 2005-02-28, Antoon Pardon <[EMAIL PROTECTED]> wrote: > Op 2005-02-28, Diez B. Roggisch schreef <[EMAIL PROTECTED]>: >> I still don't see how that is supposed to work for "a lot of interesting >> things". Can you provide examples for one of these interesting things? > > Lazy evaluation where the

Re: Chinese curses, again (was Re: Why do descriptors (and thus properties) only work on attributes.)

2005-02-28 Thread Michele Simionato
Aahz: > Not so Chinese: > http://www.noblenet.org/reference/inter.htm That page is incredible! Me too I have a gut feeling that the citation is from the XX century and from some Western country (even if till now I had not questioned its attribution). I wish I could say more about its origin ...

Chinese curses, again (was Re: Why do descriptors (and thus properties) only work on attributes.)

2005-02-28 Thread Aahz
In article <[EMAIL PROTECTED]>, Daniel Dittmar <[EMAIL PROTECTED]> wrote: > >As in the chinese curse "May you live in interisting times"? Not so Chinese: http://www.noblenet.org/reference/inter.htm -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ "The joy of coding

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Antoon Pardon
Op 2005-02-28, Daniel Dittmar schreef <[EMAIL PROTECTED]>: > Antoon Pardon wrote: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object st

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Antoon Pardon
Op 2005-02-28, Diez B. Roggisch schreef <[EMAIL PROTECTED]>: > Antoon Pardon wrote: > >> Op 2005-02-28, Paul Rubin schreef : >>> Antoon Pardon <[EMAIL PROTECTED]> writes: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of inter

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Daniel Dittmar
Antoon Pardon wrote: Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object stood on itself instead of being an attribute to an other object. How would

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Diez B. Roggisch
Antoon Pardon wrote: > Op 2005-02-28, Paul Rubin schreef : >> Antoon Pardon <[EMAIL PROTECTED]> writes: >>> Can anyone explain why descriptors only work when they are an attribute >>> to an object or class. I think a lot of interesting things one can >>> do with descriptors would be just as inter

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Antoon Pardon
Op 2005-02-28, Paul Rubin schreef : > Antoon Pardon <[EMAIL PROTECTED]> writes: >> Can anyone explain why descriptors only work when they are an attribute >> to an object or class. I think a lot of interesting things one can >> do with descriptors would be just as interesting if the object stood >

Re: Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Paul Rubin
Antoon Pardon <[EMAIL PROTECTED]> writes: > Can anyone explain why descriptors only work when they are an attribute > to an object or class. I think a lot of interesting things one can > do with descriptors would be just as interesting if the object stood > on itself instead of being an attribute

Why do descriptors (and thus properties) only work on attributes.

2005-02-28 Thread Antoon Pardon
Can anyone explain why descriptors only work when they are an attribute to an object or class. I think a lot of interesting things one can do with descriptors would be just as interesting if the object stood on itself instead of being an attribute to an other object. So what are the reasons for l