Tal Einat <talei...@gmail.com> added the comment: Serhiy, this looks like a great step in the right direction!
Tested on Win10 with PR GH-16545 (commit f4db0e7e00). Here is a copy/paste from an IDLE shell session: >>> '\N{PERSONAL COMPUTER}' 'ð»' >>> print('💻') SyntaxError: 'utf-8' codec can't encode characters in position 7-12: surrogates not allowed Note that in the first output, the second and third chars in the string aren't visible in IDLE; i.e. what is actually displayed is 'ð»'. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue13153> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com