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 serhiy.storchaka
Recipients brian.curtin, ezio.melotti, hynek, pitrou, serhiy.storchaka, tim.golden, v+python
Date 2012-05-15.10:40:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337078421.05.0.540390846989.issue14811@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce it on Linux. Minimal example:

$ ./python -c "open('longline.py', 'w').write('#' + repr('\u00A1' * 4096) + '\n')"
$ ./python longline.py
  File "longline.py", line 1
SyntaxError: Non-UTF-8 code starting with '\xc2' in file longline.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
History
Date User Action Args
2012-05-15 10:40:21serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, tim.golden, ezio.melotti, v+python, brian.curtin, hynek
2012-05-15 10:40:21serhiy.storchakasetmessageid: <1337078421.05.0.540390846989.issue14811@psf.upfronthosting.co.za>
2012-05-15 10:40:20serhiy.storchakalinkissue14811 messages
2012-05-15 10:40:20serhiy.storchakacreate