7 Feb
2020
7 Feb
'20
12:11 a.m.
Sorry, ignore that - I see Serhiy used "print(*a)". Paul On Fri, 7 Feb 2020 at 08:10, Paul Moore <p.f.moore@gmail.com> wrote:
On Thu, 6 Feb 2020 at 23:14, Guido van Rossum <guido@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