]> granicus.if.org Git - python/commit
bpo-31161: only check for parens error for SyntaxError (#3082)
authorMartijn Pieters <github.com@zopatista.com>
Tue, 22 Aug 2017 20:16:23 +0000 (21:16 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Tue, 22 Aug 2017 20:16:23 +0000 (13:16 -0700)
commit772d809a63f40fd35679da3fb115cdf7fa81bd20
tree265d99b3470b6413666c5f2ce0e73dd564fb052e
parent5df8c589f4ec3d8c1ccd115dc030fa7596c1c75d
bpo-31161: only check for parens error for SyntaxError (#3082)

Subclasses such as IndentError and TabError should not have this message
applied.
Lib/test/test_exceptions.py
Misc/NEWS
Objects/exceptions.c