On Mon, 28 Sep 2020 at 15:45, Eric Wieser <[email protected]> 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 -- [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/UJR4GMFJ2KHHBLKWIKP2JIU2PZUVJK6M/ Code of Conduct: http://python.org/psf/codeofconduct/
