Skip to content

Pasteing 🌹into idle makes it exit #81795

Closed

Description

@ColbyReeves
BPO 37614
Nosy @terryjreedy, @tirkarthi
Superseder
  • 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 = <Date 2019-07-19.07:20:29.264>
    created_at = <Date 2019-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 = <Date 2020-06-07.23:24:36.112>
    user = 'https://bugs.python.org/ColbyReeves'

    bugs.python.org fields:

    activity = <Date 2020-06-07.23:24:36.112>
    actor = 'terry.reedy'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2019-07-19.07:20:29.264>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2019-07-18.04:40:49.924>
    creator = 'Colby Reeves'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37614
    keywords = []
    message_count = 4.0
    messages = ['348095', '348096', '348148', '370926']
    nosy_count = 3.0
    nosy_names = ['terry.reedy', 'xtreak', 'Colby Reeves']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '13153'
    type = 'behavior'
    url = 'https://bugs.python.org/issue37614'
    versions = ['Python 3.9']

    Activity

    1. ColbyReeves commented on Jul 18, 2019

      ColbyReevesmannequin
      MannequinAuthor

      Like the title says pasting 🌹 (or U+1F339) into IDLE makes IDLE instantaneously crash.

    2. added
      type-crash
      3.7 (EOL)
      on Jul 18, 2019
    3. tirkarthi commented on Jul 18, 2019

      @tirkarthi
      Member

      Can you please add your operating system and environment information? It seems similar to bpo-37286 and bpo-13153 in Windows.

    4. terryjreedy commented on Jul 19, 2019

      @terryjreedy
      Member

      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

    5. added
      3.9 (EOL)
      and removed
      3.7 (EOL)
      on Jul 19, 2019
    6. added
      type-bug
      and removed
      type-crash
      on Jul 19, 2019
    7. changed the title [-]Pasteing 🌹into idle makes it crash[/-] [+]Pasteing 🌹into idle makes it exit[/+] on Mar 30, 2020
    8. terryjreedy commented on Jun 7, 2020

      @terryjreedy
      Member

      The crash issue is fixed, but editing does not work correctly.

    9. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.9 (EOL)topic-IDLEtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions