Skip to content

Python startup fails with a fatal error if a command line argument contains an invalid Unicode character #80064

Closed
@Neui

Description

@Neui
mannequin
BPO 35883
Nosy @ncoghlan, @vstinner, @ezio-melotti, @eryksun, @miss-islington, @Neui, @jmberg
PRs
  • bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters #24843
  • [3.9] bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843) #24905
  • [3.8] bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843) #24906
  • 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 2021-10-18.22:15:29.662>
    created_at = <Date 2019-02-01.16:55:38.226>
    labels = ['interpreter-core', '3.8', 'type-crash', '3.10', 'expert-unicode', '3.9']
    title = 'Python startup fails with a fatal error if a command line argument contains an invalid Unicode character'
    updated_at = <Date 2021-10-18.22:15:29.662>
    user = 'https://github.com/Neui'

    bugs.python.org fields:

    activity = <Date 2021-10-18.22:15:29.662>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-18.22:15:29.662>
    closer = 'iritkatriel'
    components = ['Interpreter Core', 'Unicode']
    creation = <Date 2019-02-01.16:55:38.226>
    creator = 'Neui'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35883
    keywords = ['patch']
    message_count = 18.0
    messages = ['334703', '334705', '334707', '334712', '334732', '369811', '369812', '369813', '369814', '369819', '369820', '388612', '388613', '388614', '388616', '388965', '388970', '389732']
    nosy_count = 8.0
    nosy_names = ['ncoghlan', 'vstinner', 'ezio.melotti', 'SilentGhost', 'eryksun', 'miss-islington', 'Neui', 'jberg']
    pr_nums = ['24843', '24905', '24906']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue35883'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-unicodetype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions