On Thu, 6 Feb 2020 at 23:14, Guido van Rossum <gu...@python.org> wrote: > > How did we move from [*a,...] to print(*a,...)? They are quite different.
It was a good way to demonstrate evaluation order, as an expression with a visible side effect. What the expression [print("a"), *None, print("b")] prints before the "cannot unpack NoneType" exception, demonstrates what order the expressions were evaluated in. Paul _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/GWOMCNBZ3FKBSZ67WFDOM7GQEQ5LYSLG/ Code of Conduct: http://python.org/psf/codeofconduct/