Python Macros
Alex Martelli
aleaxit at yahoo.com
Wed Oct 6 09:22:55 EDT 2004
Carlos Ribeiro <carribeiro at gmail.com> wrote:
...
> Thanks (again!). Another dumb mistake. I have mixed up __get__attr,
> descriptors, and __getattribute__ in my head, all at once, and messed
> up the concepts. Too much reading and too little practice do it :-).
You're welcome! Yep, getting some practice would help...
infrastructure's a cool thing, but getting direct experience of how to
do real-life apps helps you grasp the infrastructure better, too.
> The funny thing is that the code worked as written, at least for my
> small test case, because it failed to find the dog.fetch method
> anyway.
Heh, yes, you weren't looking for dog.keys or dog.update, say;-).
Alex
More information about the Python-list
mailing list