I think it’s a mistake to defer to the zen of python without considering the PEPs themselves which do discuss trade offs. (I’ll note that you didn’t make that claim but GP did).
That’s not a hill I’m willing to die on but I agree with the positives from your list.
And the small handful of times I’ve used walrus have been nice, but not game changing.
is it? I don't think the core language is that big. The libraries are big of course.
Well, then again I wouldn't consider anybody a more expert Pythonista than Guido.
Was it tho? It's one of my favorite improvements, and has no actual downside.
- It violates the longstanding Python rule that assignments don't escape the enclosing scope.
But doesn't that violate the longstanding Python rule that A Foolish Consistency is the Hobgoblin of Little Minds ?
if True: x = 1 print(x)