On Mon, 28 Sep 2020 at 15:45, Eric Wieser <wieser.eric+nu...@gmail.com> wrote: > > Would another option be to just stop using the tuple-less index in the > presence of new syntax - so by example,
I don't think it would be a reliable approach. Now you end up with a "randomly" occurring special case depending on how it's invoked. Also, it would give different behavior between d[x] and d[x, **kw], which in my opinion should be a fully degenerate case. -- Kind regards, Stefano Borini _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/UJR4GMFJ2KHHBLKWIKP2JIU2PZUVJK6M/ Code of Conduct: http://python.org/psf/codeofconduct/