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 Phillip.M.Feldman
Recipients Phillip.M.Feldman
Date 2011-10-15.05:18:24
SpamBayes Score 0.00018199313
Marked as misclassified No
Message-id <1318655905.33.0.141769881228.issue13185@psf.upfronthosting.co.za>
In-reply-to
Content
When I try to run a Python script that contains curvy quotes inside comments, the interpreter gets upset:

SyntaxError: Non-ASCII character '\x92' in file ... on line 20198, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

Given that the quotes are appearing only in comments, why does the interpreter care about them?  Why should it be doing anything at all with comments other than stripping them off?
History
Date User Action Args
2011-10-15 05:18:25Phillip.M.Feldmansetrecipients: + Phillip.M.Feldman
2011-10-15 05:18:25Phillip.M.Feldmansetmessageid: <1318655905.33.0.141769881228.issue13185@psf.upfronthosting.co.za>
2011-10-15 05:18:24Phillip.M.Feldmanlinkissue13185 messages
2011-10-15 05:18:24Phillip.M.Feldmancreate