Author ncoghlan
Recipients alex, glyph, gvanrossum, ncoghlan
Date 2014-06-06.12:57:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402059435.69.0.51896292029.issue21669@psf.upfronthosting.co.za>
In-reply-to
Content
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.)".
History
Date User Action Args
2014-06-06 12:57:15ncoghlansetrecipients: + ncoghlan, gvanrossum, glyph, alex
2014-06-06 12:57:15ncoghlansetmessageid: <1402059435.69.0.51896292029.issue21669@psf.upfronthosting.co.za>
2014-06-06 12:57:15ncoghlanlinkissue21669 messages
2014-06-06 12:57:15ncoghlancreate