summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-06-16 09:48:02 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-06-16 09:48:02 (GMT)
commit5b1fdc1e377df88078f7788bf85dfebd353dc178 (patch)
tree922b50792ecc56d09650996971ac112971dafd9a /Misc/NEWS
parentb6d1f48c14b7a3bc7047138dc0bf5aadfe6be480 (diff)
downloadcpython-5b1fdc1e377df88078f7788bf85dfebd353dc178.zip
cpython-5b1fdc1e377df88078f7788bf85dfebd353dc178.tar.gz
cpython-5b1fdc1e377df88078f7788bf85dfebd353dc178.tar.bz2
Issue #21669: Special case print & exec syntax errors
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6d5c0a1..90f3c86 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,11 @@ Release date: XXXX-XX-XX
Core and Builtins
-----------------
+- Issue #21669: With the aid of heuristics in SyntaxError.__init__, the
+ parser now attempts to generate more meaningful (or at least more search
+ engine friendly) error messages when "exec" and "print" are used as
+ statements.
+
- Issue #21642: If the conditional if-else expression, allow an integer written
with no space between itself and the ``else`` keyword (e.g. ``True if 42else
False``) to be valid syntax.