summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMartijn Pieters <github.com@zopatista.com>2017-08-22 20:16:23 (GMT)
committerƁukasz Langa <lukasz@langa.pl>2017-08-22 20:16:23 (GMT)
commit772d809a63f40fd35679da3fb115cdf7fa81bd20 (patch)
tree265d99b3470b6413666c5f2ce0e73dd564fb052e /Misc
parent5df8c589f4ec3d8c1ccd115dc030fa7596c1c75d (diff)
downloadcpython-772d809a63f40fd35679da3fb115cdf7fa81bd20.zip
cpython-772d809a63f40fd35679da3fb115cdf7fa81bd20.tar.gz
cpython-772d809a63f40fd35679da3fb115cdf7fa81bd20.tar.bz2
bpo-31161: only check for parens error for SyntaxError (#3082)
Subclasses such as IndentError and TabError should not have this message applied.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1ef2892..9927e34 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.7.0 alpha 1?
Core and Builtins
-----------------
+- bpo-31161: Make sure the 'Missing parentheses' syntax error message is
+ only applied to SyntaxError, not to subclasses. Patch by Martijn Pieters.
+
- bpo-30814: Fixed a race condition when import a submodule from a package.
- bpo-30736: The internal unicodedata database has been upgraded to Unicode