This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients alex, glyph, gvanrossum, ncoghlan
Date 2014-06-06.12:57:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Heuristic based approach that just does a fairly simple check for the syntax error text starting with "print " or "exec " when the text doesn't contain a left parenthesis.

This will still miss a few cases where the left parenthesis is inside a larger expression (like a string, list or dict), but that extra check avoids false triggering on cases like "print (a.)".
Date User Action Args
2014-06-06 12:57:15ncoghlansetrecipients: + ncoghlan, gvanrossum, glyph, alex
2014-06-06 12:57:15ncoghlansetmessageid: <>
2014-06-06 12:57:15ncoghlanlinkissue21669 messages
2014-06-06 12:57:15ncoghlancreate