On Mon, 28 Mar 2005 01:15:34 +0000, Jp Calderone wrote:
> 
>      Notice that you have a method named "url" as well as an attribute
>      named "url".  You have the same problem for "thumb".  These methods
>      and attributes are in collision with each other.  When you try to
>      look up the attribute, you might get the method.  When you try to
>      look up the method, you might get the attribute.  It is
>      deterministic, but depends on the order in which you do things, and
>      highly confusing no matter what.  Avoid naming attributes and
>      methods the same thing.

DUH!!!

works like a charm....

Thanks!

-- 

use munged address above to email me
SpamTrap [EMAIL PROTECTED] 

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to