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 terry.reedy
Recipients ezio.melotti, ned.deily, serhiy.storchaka, terry.reedy
Date 2019-07-19.08:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563526333.01.0.800117719677.issue13153@roundup.psfhosted.org>
In-reply-to
Content
Closed #37614 in favor of this.  

We now have only Python with FSR and mostly only tcl 8.6 to worry about.  But I presume the Windows clipboard still uses uft-16le.  Experimenting with pasting 𐒢 or '𐒢', I usually get the 'ed' message as before, but with the quoted astral, IDLE somethings hangs.  If I wait before trying to close, I get a message from Windows about waiting or closing.

Currently, an attempt to print an astral char, as opposed to paste, results in
>>> print('\U00011111')
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    print('\U00011111')
UnicodeEncodeError: 'UCS-2' codec can't encode character '\U00011111' in position 0: Non-BMP character not supported in Tk
Improving this is a separate issue, as is editing a .py file with an astral char in the name or test.
History
Date User Action Args
2019-07-19 08:52:13terry.reedysetrecipients: + terry.reedy, ned.deily, ezio.melotti, serhiy.storchaka
2019-07-19 08:52:13terry.reedysetmessageid: <1563526333.01.0.800117719677.issue13153@roundup.psfhosted.org>
2019-07-19 08:52:12terry.reedylinkissue13153 messages
2019-07-19 08:52:12terry.reedycreate