Re: [Python-Dev] Re: What's up with assignment expression and tuples?

Hello, On Sat, 6 Feb 2021 10:46:54 +0200 Serhiy Storchaka <storchaka@gmail.com> wrote:
But at least it fully corresponds to the original statements and control flow of the program, that's the point!
As I mentioned in other replies, that's what I've been doing. But that does *NOT* correspond to the original program, or SSA conversion of it. Instead, it's SSA + random munging. And when debugging SSA, you may argue what's worse: to look at 3-stories phi's, or to look at the code structure which doesn't correspond to the input code. But that's not the point. I now in https://bugs.python.org/issue43143 gave more down to earth example: For as long as you agree that following is acceptable: func(a := val) , then I'd say it really doesn't make much sense to argue that following should not be acceptable: min((b, a) := (a, b)) -- Best regards, Paul mailto:pmiscml@gmail.com
participants (1)
-
Paul Sokolovsky