[issue31161] Only check for print and exec parentheses cases for SyntaxError, not subclasses

Serhiy Storchaka report at bugs.python.org
Fri Aug 11 05:00:24 EDT 2017


Serhiy Storchaka added the comment:

> Perhaps the check needs to be limited to just the exact type.

Looks reasonable to me. Do you want to provide a PR Martijn?

----------
keywords: +easy (C)
nosy: +serhiy.storchaka
stage:  -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31161>
_______________________________________


More information about the Python-bugs-list mailing list