Files
cpython/Lib
Pablo Galindo b0aba1fcdc bpo-42381: Allow walrus in set literals and set comprehensions (GH-23332)
Currently walruses are not allowerd in set literals and set comprehensions:

>>> {y := 4, 4**2, 3**3}
  File "<stdin>", line 1
    {y := 4, 4**2, 3**3}
       ^
SyntaxError: invalid syntax

but they should be allowed as well per PEP 572
2020-11-17 01:17:12 +00:00
..
2020-11-12 10:42:44 +00:00
2020-11-03 00:02:08 +00:00
2020-05-22 17:50:58 -07:00