Skip to content

Python IDLE doesn't like 💙 #71278

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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ChristianKleineidam mannequin opened this issue May 23, 2016 · 4 comments
Closed

Python IDLE doesn't like 💙 #71278

ChristianKleineidam mannequin opened this issue May 23, 2016 · 4 comments

Comments

@ChristianKleineidam
Copy link
Mannequin

ChristianKleineidam mannequin commented May 23, 2016

BPO 27091
Nosy @vstinner, @vadmium
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 = None
    closed_at = <Date 2016-05-24.08:55:05.866>
    created_at = <Date 2016-05-23.12:40:03.967>
    labels = ['expert-IDLE']
    title = "Python IDLE doesn't like \xf0\x9f\x92\x99"
    updated_at = <Date 2016-05-24.08:55:05.865>
    user = 'https://bugs.python.org/ChristianKleineidam'

    bugs.python.org fields:

    activity = <Date 2016-05-24.08:55:05.865>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-05-24.08:55:05.866>
    closer = 'eryksun'
    components = ['IDLE']
    creation = <Date 2016-05-23.12:40:03.967>
    creator = 'Christian.Kleineidam'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 27091
    keywords = []
    message_count = 4.0
    messages = ['266138', '266140', '266145', '266238']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'martin.panter', 'Christian.Kleineidam']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '13153'
    type = None
    url = 'https://bugs.python.org/issue27091'
    versions = ['Python 3.5']

    @ChristianKleineidam
    Copy link
    Mannequin Author

    ChristianKleineidam mannequin commented May 23, 2016

    When I past 💙 into the Python IDLE it closes automatically.
    I would be fine with the IDLE not being able to display the character. Automatically closing seems however excessive.

    @vstinner
    Copy link
    Member

    What is your OS? Windows?

    What is the full Python version (see the IDLE window title)?

    Note: I cannot reproduce the issue on Linux with Python 3.4.3: pasting a string which contains 💙 do nothing, whereas pasting pure ASCII string works well.

    I recall the TCL doesn't have a full support of Unicode, usually it only supports BMP (U+0000-U+ffff).

    💙 is a non-BMP character: U+1f499.

    @vadmium
    Copy link
    Member

    vadmium commented May 23, 2016

    Is this the same as bpo-13153?

    @ChristianKleineidam
    Copy link
    Mannequin Author

    ChristianKleineidam mannequin commented May 24, 2016

    My version is: Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:16:59) [MSC v.1900 32 bit (Intel)] on win32

    Yes, I think the issue is likely a dublicate of http://bugs.python.org/issue13153

    @eryksun eryksun closed this as completed May 24, 2016
    @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
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants