> My point is that I don't see the distinction between avoiding using dicts > with well-known keys and wanting to access a dict with attribute access > (which is where this started). Seems the same to me.
I think using dict with well-known keys is what makes people want dict with attribute access. My point is that this is not a very good use of dict -- normally dict keys are also data. If they are not, something more specific should be used, though before namedtuple (and still in many other scripting languages) there were no good alternatives. Eugene _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com