Il giorno 11/feb/2011, alle ore 19.47, Ethan Furman ha scritto:

> 
> I strongly disagree.  Code readability is one of the most important issues.

Perfectly agree with that, but

obj.name = x
obj.surname = y

obj['name'] = x
obj['surname'] = y

are both quite readable in my opinion.
Other things are more important to evaluate in this case.

I normally always wrap dictionaries because before or later I'll want to add 
some other
features, but I don't know if that's the  case here.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to