Piotr Dobrogost <[email protected]> wrote:
>
>Attribute access syntax being very concise is very often preferred
>to dict's interface.
It is not "very concise". It is slightly more concise.
x = obj.value1
x = dct['value1']
You have saved 3 keystrokes. That is not a significant enough savings to
create new syntax. Remember the Python philosophy that there ought to be
one way to do it.
--
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
--
https://mail.python.org/mailman/listinfo/python-list