Message160706
| 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 |
|