diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2014-06-16 09:48:02 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2014-06-16 09:48:02 (GMT) |
commit | 5b1fdc1e377df88078f7788bf85dfebd353dc178 (patch) | |
tree | 922b50792ecc56d09650996971ac112971dafd9a /Misc/NEWS | |
parent | b6d1f48c14b7a3bc7047138dc0bf5aadfe6be480 (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |