Message291289
wandering for the internet I fount some unicode character in a random comment, and just for curiosity I wanted to use python (3.6.1) to see their value, so I copy those characters and paste them in IDLE, and in doing so it just close without warning or explanation.
the character in question are: 🔫 🔪
(chr(128299) and chr(128298))
then I put them in a script
text = "🔫 🔪"
print(text)
and try to load it but instead it open a new empty scrip, again without apparent reason, which for some reason I can't close, I needed to kill the process for that.
I try the same with the IDLE in python 2.7.13 for the first one I got
Unsupported characters in input
which at least is something, and changing the script a little
# -*- coding: utf-8 -*-
text = u"🔫 🔪"
print(text)
it work without problem and print correctly.
Also opening the script in interactive mode (python -i myscript.py) it work as expected and I get their numbers (that I put above).
So why is that? and please fix it. |
|
Date |
User |
Action |
Args |
2017-04-07 20:15:46 | David E. Franco G. | set | recipients:
+ David E. Franco G., terry.reedy |
2017-04-07 20:15:46 | David E. Franco G. | set | messageid: <1491596146.33.0.970912299828.issue30019@psf.upfronthosting.co.za> |
2017-04-07 20:15:46 | David E. Franco G. | link | issue30019 messages |
2017-04-07 20:15:46 | David E. Franco G. | create | |
|