On Fri, Oct 28, 2016 at 7:13 AM, Barry Warsaw <ba...@python.org> wrote:
> You could of course support exactly the same syntax being proposed as a
> language change, e.g.
>
>     from operator import attrgetter
>     r = attrgetter('b?.x?.z')
>
> and then you wouldn't even need the `coalesce` argument.

+1

-eric
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to