New submission from Phillip Feldman <phillip.m.feld...@gmail.com>:

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?

----------
messages: 145583
nosy: Phillip.M.Feldman
priority: normal
severity: normal
status: open
title: Why does Python interpreter care about curvy quotes in comments?

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13185>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to