summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-13 00:14:39 (GMT)
committerGitHub <noreply@github.com>2018-09-13 00:14:39 (GMT)
commitc9a71dd223c4ad200a97aa320aef6bd3d45f8897 (patch)
treee287118e87da5e55f7b6adc2ac3727f871aa520a /Doc
parent6d9767fb263d286dc383ece01ca5b0b25117bd94 (diff)
downloadcpython-c9a71dd223c4ad200a97aa320aef6bd3d45f8897.zip
cpython-c9a71dd223c4ad200a97aa320aef6bd3d45f8897.tar.gz
cpython-c9a71dd223c4ad200a97aa320aef6bd3d45f8897.tar.bz2
closes bpo-34641: Further restrict the LHS of keyword argument function call syntax. (GH-9212)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 259dcf6..b2475c7 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
===========