Skip to content

os.device_encoding() doesn't respect the UTF-8 Mode #86402

@vstinner

Description

@vstinner
BPO 42236
Nosy @vstinner, @methane
PRs
  • bpo-42236: Enhance _locale._get_locale_encoding() #23083
  • bpo-42236: Use UTF-8 encoding if nl_langinfo(CODESET) fails #23086
  • bpo-42236: Enhance init and encoding documentation #23109
  • bpo-42236: os.device_encoding() respects UTF-8 Mode #23119
  • 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 2020-11-04.10:26:56.126>
    created_at = <Date 2020-11-01.18:12:56.742>
    labels = ['library', '3.10']
    title = "os.device_encoding() doesn't respect the UTF-8 Mode"
    updated_at = <Date 2020-11-04.10:26:56.125>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2020-11-04.10:26:56.125>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-04.10:26:56.126>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2020-11-01.18:12:56.742>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42236
    keywords = ['patch']
    message_count = 8.0
    messages = ['380156', '380158', '380159', '380166', '380234', '380261', '380313', '380314']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'methane']
    pr_nums = ['23083', '23086', '23109', '23119']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue42236'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesstdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions