On Fri, Sep 25, 2020 at 8:26 PM David Mertz <[email protected]> wrote:
> E.g. we would have:
>
> newthing[(), foo=1, bar=4:5] == newthing[foo=1, bar=4:5]
>
Right, but we also have
newthing[(2, 3), foo=1, bar=4:5] == newthing[2, 3, foo=1, bar=4:5]
which seems exactly analogous. A disambiguation scheme that worked for
every n might be worth it, but one that only works for n=0 and makes that
case less consistent with n>=2 doesn't seem worth it to me.
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/[email protected]/message/RDI6OOSSNCNIMBSVWLE52NRWHIR52IOT/
Code of Conduct: http://python.org/psf/codeofconduct/