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 David E. Franco G.
Recipients David E. Franco G., terry.reedy
Date 2017-04-07.20:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491596146.33.0.970912299828.issue30019@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-04-07 20:15:46David E. Franco G.setrecipients: + David E. Franco G., terry.reedy
2017-04-07 20:15:46David E. Franco G.setmessageid: <1491596146.33.0.970912299828.issue30019@psf.upfronthosting.co.za>
2017-04-07 20:15:46David E. Franco G.linkissue30019 messages
2017-04-07 20:15:46David E. Franco G.create