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 chester
Recipients chester
Date 2008-05-11.07:26:14
SpamBayes Score 0.0334229
Marked as misclassified No
Message-id <1210490784.68.0.252907160598.issue2816@psf.upfronthosting.co.za>
In-reply-to
Content
Let's make an intentional syntax error...

>>> print "Testing\"
SyntaxError: EOL while scanning single-quoted string


Please focus on the part of the error message that states "while
scanning single-quoted string". How can Python claim it scanned a
single-quoted string when I fed it with a double-quoted string? That is
a quote type recognition bug in Python which should be fixed.

The error message in this case should, however, be:

SyntaxError: EOL while scanning double-quoted string
History
Date User Action Args
2008-05-11 07:26:25chestersetspambayes_score: 0.0334229 -> 0.0334229
recipients: + chester
2008-05-11 07:26:24chestersetspambayes_score: 0.0334229 -> 0.0334229
messageid: <1210490784.68.0.252907160598.issue2816@psf.upfronthosting.co.za>
2008-05-11 07:26:21chesterlinkissue2816 messages
2008-05-11 07:26:19chestercreate