diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-11-16 23:38:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-16 23:38:58 (GMT) |
commit | 2b800ef809eefbc96a536e4b43a8285f2353f64d (patch) | |
tree | a7324a40ab4f2e34a8581fd670554dde2688ada4 /Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst | |
parent | cf70854f10096446115408b5a94030b30594a459 (diff) | |
download | cpython-2b800ef809eefbc96a536e4b43a8285f2353f64d.zip cpython-2b800ef809eefbc96a536e4b43a8285f2353f64d.tar.gz cpython-2b800ef809eefbc96a536e4b43a8285f2353f64d.tar.bz2 |
bpo-42374: Allow unparenthesized walrus in genexps (GH-23319) (GH-23329)
This fixes a regression that was introduced by the new parser.
(cherry picked from commit cb3e5ed0716114393696ec7201e51fe0595eab4f)
Diffstat (limited to 'Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst b/Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst new file mode 100644 index 0000000..d86d038 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2020-11-16-17-57-09.bpo-42374.t7np1E.rst @@ -0,0 +1,2 @@ +Fix a regression introduced by the new parser, where an unparenthesized walrus operator
+was not allowed within generator expressions.
\ No newline at end of file |