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 shreyanavigyan
Recipients shreyanavigyan, terry.reedy
Date 2021-05-23.15:36:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621784183.18.0.916586906015.issue44217@roundup.psfhosted.org>
In-reply-to
Content
In IDLE, suppose I want to print 😀. I can write it like, print(b'\xf0\x9f\x98\x80'.decode()). I can't print it in console so I tried it in IDLE. It worked. Hurray! Hold on though. Now I thought how can I print 😀 directly. So I used the command 'print("😀")' in IDLE and I saw a weird behavior. Actually to be accurate, many weird behaviors!

1. If I type in 'print(😀))' and I want to delete the extra ')' but it just stuck. I can't backspace or delete anything I've typed but I can type more.

2. If we move our cursor (typing cursor, not the flying one) over the output using arrow keys we would see that the characters are moving and occasionally dancing.

3. (Here comes the laughing part) If we type in 'print(😀)' and then move our typing cursor just between the emoji and the ')' and start typing we would see we're typing in the opposite way. So if we move our cursor and intend to type 'hello' we would actually end up typing 'olleh'.

I'm not sure but these look like bugs to me.
History
Date User Action Args
2021-05-23 15:36:23shreyanavigyansetrecipients: + shreyanavigyan, terry.reedy
2021-05-23 15:36:23shreyanavigyansetmessageid: <1621784183.18.0.916586906015.issue44217@roundup.psfhosted.org>
2021-05-23 15:36:23shreyanavigyanlinkissue44217 messages
2021-05-23 15:36:22shreyanavigyancreate