dicts and lists will keep working as before. They will not support
keyword arguments (probably ever, as there is no clear semantic for
them) and the current implementation simply throws an error if the
user tries to.
Other classes will take advantage of the syntax for enhanced behavior.
We are not
On 5/02/21 8:51 pm, Paul Sokolovsky wrote:
a = 0
while a < 5:
a += 1
becomes:
a0 = 0
while (a1 := phi(a0, a2)) < 5:
a2 = a1 + 1
SSA seems to be something intended for compilers to use as an
intermediate representation, not something to actually write
code in. So I'm puzzle
Hello,
Thanks for the reply.
On Fri, 5 Feb 2021 13:32:25 -0500
Terry Reedy wrote:
> On 2/5/2021 2:51 AM, Paul Sokolovsky wrote:
>
> > https://www.python.org/dev/peps/pep-0572/
> ...
>
> ((a, b) := (1, 2))
> >File "", line 1
> > SyntaxError: cannot use assignment expressions wit
On 2/5/2021 2:51 AM, Paul Sokolovsky wrote:
https://www.python.org/dev/peps/pep-0572/
...
((a, b) := (1, 2))
File "", line 1
SyntaxError: cannot use assignment expressions with tuple
Why this accidental syntactic gap?
As should be clear from reading "Differences between assignment
ACTIVITY SUMMARY (2021-01-29 - 2021-02-05)
Python tracker at https://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue.
Do NOT respond to this message.
Issues counts and deltas:
open7379 (-209)
closed 47495 (+284)
total 54874 (+75)
Open issues
I missed the discussion around the PEP. I don't mean to start another
one, I'd just like a clarification. The PEP describes the new
functionality, and the interfaces, and that's all fine. But I didn't
see where it discussed where this technology would be used.
Would this mainly be used by