Skip to content

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

Description

@Neui
mannequin
BPO35883
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=Noneclosed_at=<Date2021-10-18.22:15:29.662>created_at=<Date2019-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=<Date2021-10-18.22:15:29.662>user='https://github.com/Neui'

    bugs.python.org fields:

    activity=<Date2021-10-18.22:15:29.662>actor='iritkatriel'assignee='none'closed=Trueclosed_date=<Date2021-10-18.22:15:29.662>closer='iritkatriel'components= ['Interpreter Core', 'Unicode']
    creation=<Date2019-02-01.16:55:38.226>creator='Neui'dependencies= []
    files= []
    hgrepos= []
    issue_num=35883keywords= ['patch']
    message_count=18.0messages= ['334703', '334705', '334707', '334712', '334732', '369811', '369812', '369813', '369814', '369819', '369820', '388612', '388613', '388614', '388616', '388965', '388970', '389732']
    nosy_count=8.0nosy_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=Nonetype='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.9 (EOL)end of lifeinterpreter-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