Message356298
| Author |
Andrew Ushakov |
| Recipients |
Andrew Ushakov |
| Date |
2019年11月09日.12:26:48 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1573302408.95.0.156655994529.issue38755@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Not very long unicode comment #, space and then 170 or more repetitions of the utf8 symbol ░ (b'\xe2\x96\x91'.decode())
# ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
causes syntax error:
SyntaxError: Non-UTF-8 code starting with '\xe2' in file tst112.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Python file is attached. Second example is similar, but here unicode string with similar length is used as an argument of a print function.
print('\n░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░')
Similar Issue34979 was submitted one year ago... |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年11月09日 12:26:49 | Andrew Ushakov | set | recipients:
+ Andrew Ushakov |
| 2019年11月09日 12:26:48 | Andrew Ushakov | set | messageid: <1573302408.95.0.156655994529.issue38755@roundup.psfhosted.org> |
| 2019年11月09日 12:26:48 | Andrew Ushakov | link | issue38755 messages |
| 2019年11月09日 12:26:48 | Andrew Ushakov | create |
|