On Sat, 30 Jan 2021 at 00:10, Guido van Rossum <[email protected]> wrote: > I think for PEP 646 it doesn't matter. That PEP is mostly concerned with > static checks and the static checker can assign this any meaning it wants as > long as it is syntactically allowed. > > Honestly I think it's fine the way you have implemented it -- since there is > a difference between a[1] and a[1,], a[*t] where len(t) == 1 has to make a > choice, and it's fine if this always passes a tuple.
All right, but then I have to fix the PEP and the test that is currently failing. I'll do it tonight. Thanks -- 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/OT234JYHAQKOSG225TLL2A3XSLF744R4/ Code of Conduct: http://python.org/psf/codeofconduct/
