You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bpo-13153: IDLE 3.x on Windows exits when pasting non-BMP unicode
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/terryjreedy'closed_at=<Date2019-07-19.07:20:29.264>created_at=<Date2019-07-18.04:40:49.924>labels= ['expert-IDLE', 'type-bug', '3.9']
title='Pasteing \xf0\x9f\x8c\xb9into idle makes it exit'updated_at=<Date2020-06-07.23:24:36.112>user='https://bugs.python.org/ColbyReeves'
As said multiple times on bpo-13153, IDLE exits with a traceback that is visible when it is started from a command line (python -m idlelib). It usually ends with
File "F:\dev\3x\lib\tkinter\init.py", line 1420, in mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 3: invalid continuation byte
Activity
ColbyReeves commentedon Jul 18, 2019
Like the title says pasting 🌹 (or U+1F339) into IDLE makes IDLE instantaneously crash.
tirkarthi commentedon Jul 18, 2019
Can you please add your operating system and environment information? It seems similar to bpo-37286 and bpo-13153 in Windows.
terryjreedy commentedon Jul 19, 2019
As said multiple times on bpo-13153, IDLE exits with a traceback that is visible when it is started from a command line (python -m idlelib). It usually ends with
File "F:\dev\3x\lib\tkinter\init.py", line 1420, in mainloop
self.tk.mainloop(n)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xed in position 3: invalid continuation byte
[-]Pasteing 🌹into idle makes it crash[/-][+]Pasteing 🌹into idle makes it exit[/+]terryjreedy commentedon Jun 7, 2020
The crash issue is fixed, but editing does not work correctly.