An interesting python problem

Johnny Lee johnnyandfiona at hotmail.com
Wed Sep 14 11:15:31 CEST 2005


bruno modulix wrote:
>
> I dont see anything interesting nor problematic here. If you understand
> the difference between class attributes and instance attributes, the
> difference between mutating an object and rebinding a name, and the
> attribute lookup rules in Python, you'll find that all this is the
> normal and expected behavior.
>
> Or did I miss something ?
> 

No, you didn't miss anything as I can see. Thanks for your help:)




More information about the Python-list mailing list