]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42374: Allow unparenthesized walrus in genexps (GH-23319)
authorLysandros Nikolaou <lisandrosnik@gmail.com>
Mon, 16 Nov 2020 23:08:35 +0000 (01:08 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Nov 2020 23:08:35 +0000 (15:08 -0800)
commitcb3e5ed0716114393696ec7201e51fe0595eab4f
treef44ee133ea7d7ad30dec484eaa063ef6fc70ade9
parentf62dad16b8e540486a0a0fed41e723d36986f860
bpo-42374: Allow unparenthesized walrus in genexps (GH-23319)

This fixes a regression that was introduced by the new parser.

Automerge-Triggered-By: GH:lysnikolaou
Grammar/python.gram
Lib/test/test_named_expressions.py
Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst [new file with mode: 0644]
Parser/parser.c