Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment: As you have said, this will break existing code.
And this is not applicable to non-string indices. I think that it would be easier to use a lambda or local function for this: `lambda x: x['a']['b']`. It is shorter and cleaner. I don't see how this is related to the Python-Dev thread. ---------- nosy: +serhiy.storchaka resolution: -> rejected _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32010> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com