Piotr Dobrogost <p...@google-groups-2013.dobrogost.net> 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, t...@probo.com
Providenza & Boekelheide, Inc.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to