Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasteing 馃尮into idle makes it exit #81795

Closed
ColbyReeves mannequin opened this issue Jul 18, 2019 · 4 comments
Closed

Pasteing 馃尮into idle makes it exit #81795

ColbyReeves mannequin opened this issue Jul 18, 2019 · 4 comments
Assignees
Labels
3.9 only security fixes topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@ColbyReeves
Copy link
Mannequin

ColbyReeves mannequin commented Jul 18, 2019

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']

    @ColbyReeves
    Copy link
    Mannequin Author

    ColbyReeves mannequin commented Jul 18, 2019

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

    @ColbyReeves ColbyReeves mannequin added type-crash A hard crash of the interpreter, possibly with a core dump 3.7 (EOL) end of life labels Jul 18, 2019
    @ColbyReeves ColbyReeves mannequin assigned terryjreedy Jul 18, 2019
    @ColbyReeves ColbyReeves mannequin added the topic-IDLE label Jul 18, 2019
    @tirkarthi
    Copy link
    Member

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

    @terryjreedy
    Copy link
    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

    @terryjreedy terryjreedy added 3.9 only security fixes and removed 3.7 (EOL) end of life labels Jul 19, 2019
    @terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Jul 19, 2019
    @terryjreedy terryjreedy changed the title Pasteing 馃尮into idle makes it crash Pasteing 馃尮into idle makes it exit Mar 30, 2020
    @terryjreedy
    Copy link
    Member

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

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants