summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-12 06:57:55 -0700
committerBenjamin Peterson <benjamin@python.org>2018-09-12 06:57:55 -0700
commit8f9c904850b3e7e52629ebd09f7afed6551798b5 (patch)
tree3858c6bd41ad7d79616a08f1a29839297cc834a0
parent6fee37d9c89c1033ed35ccdc3cacc5847b788ac1 (diff)
downloadcpython-git-benjamin-keyword-restriction.tar.gz
-rw-r--r--Doc/whatsnew/3.8.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 259dcf65f2..1da9ccfe4a 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -94,6 +94,10 @@ Other Language Changes
* Added support of ``\N{name}`` escapes in :mod:`regular expressions <re>`.
(Contributed by Jonathan Eunice and Serhiy Storchaka in :issue:`30688`.)
+* The syntax allowed for keyword names in function calls was further
+ restricted. In particular, ``f((keyword)=arg)`` is no longer allowed. It was
+ never intended to permit more than a bare name on the left-hand side of a
+ keyword argument assignment term. See :issue:`34641`.
New Modules
===========
@@ -102,7 +106,7 @@ New Modules
Improved Modules
-================
+===============r=
Optimizations
=============