Re: [Edu-sig] Attribute Lookup Order

2009-02-07 Thread David MacQuigg
At 11:54 AM 2/6/2009 -0800, Scott David Daniels wrote: About my message: ... Nickel summary, lookup order is not dirt simple, and reading and writing work differently. David MacQuigg wrote: Maybe I'm missing some subtleties, but it still seems simple to me. An attribute is looked up in the

Re: [Edu-sig] Attribute Lookup Order

2009-02-06 Thread David MacQuigg
And I just noticed a great thread on comp.lang.python addressing the exact lookup order for obtaining attributes most recent post this morning. The Thread Title is Understanding Descriptors, Brian Allen Vanderburg II asked the initial question, and Aahz and Bruno Desthuillers came up with a

Re: [Edu-sig] Attribute Lookup Order

2009-02-06 Thread Scott David Daniels
About my message: ... Nickel summary, lookup order is not dirt simple, and reading and writing work differently. David MacQuigg wrote: Maybe I'm missing some subtleties, but it still seems simple to me. An attribute is looked up in the order object - class - superclasses, *UNLESS* that