[Python-talk] can't make meeting
Lloyd Kvam
python at venix.com
Thu May 22 18:32:23 EDT 2008
On Thu, 2008-05-22 at 17:30 -0400, Kent Johnson wrote:
> Hmm. Can you give an example? I am not seeing that.
No. I tried pulling out a small excerpt to demonstrate the problem, but
properties were found before getattr.
(Just as should be expected from your example.)
I'm using __metaclass__ == type since I am all too prone to omitting
object when writing class statements.
I convinced myself from the unit tests, that I was falling into the
getattr processing and that the property was not getting found. At this
point I can't recover what I actually did. The code simply got pushed
into the getattr/setattr methods and I deleted the property references.
I reread the property/descriptor documentation and somehow managed to
convince myself that I should not have expected this to work. Clearly I
should have written a simple standalone test.
Thanks for pushing me back towards reality.
--
Lloyd Kvam
Venix Corp
DLSLUG/GNHLUG library
http://www.librarything.com/catalog/dlslug
http://www.librarything.com/profile/dlslug
http://www.librarything.com/rsshtml/recent/dlslug
More information about the Python-talk
mailing list