Skip to content

localeconv() should decode numeric fields from LC_NUMERIC encoding, not from LC_CTYPE encoding #76081

Closed
@stratakis

Description

@stratakis
mannequin
BPO 31900
Nosy @malemburg, @vstinner, @skrah, @serhiy-storchaka, @andreas-schwab, @stratakis
PRs
  • bpo-31900: Fix localeconv() encoding for LC_NUMERIC #4174
  • bpo-31900: Fix decimal for LC_NUMERIC != LC_CTYPE #5191
  • [3.6] bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174) #5192
  • Files
  • inconsistent_locale_encodings.py
  • lc_numeric.py
  • lc_numeric2.py
  • 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 2018-11-28.16:53:58.445>
    created_at = <Date 2017-10-30.13:41:05.693>
    labels = ['3.8', '3.7', 'tests']
    title = 'localeconv() should decode numeric fields from LC_NUMERIC encoding, not from LC_CTYPE encoding'
    updated_at = <Date 2018-11-28.16:53:58.444>
    user = 'https://github.com/stratakis'

    bugs.python.org fields:

    activity = <Date 2018-11-28.16:53:58.444>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-28.16:53:58.445>
    closer = 'vstinner'
    components = ['Tests']
    creation = <Date 2017-10-30.13:41:05.693>
    creator = 'cstratak'
    dependencies = []
    files = ['47246', '47377', '47386']
    hgrepos = []
    issue_num = 31900
    keywords = ['patch']
    message_count = 33.0
    messages = ['305227', '305229', '305230', '305231', '305235', '305236', '305237', '307230', '308561', '309774', '309960', '309962', '309966', '309969', '309970', '309971', '309973', '309974', '309975', '309977', '309978', '309980', '309981', '309986', '309987', '309988', '309989', '309993', '310020', '310940', '327905', '330610', '330611']
    nosy_count = 6.0
    nosy_names = ['lemburg', 'vstinner', 'skrah', 'serhiy.storchaka', 'schwab', 'cstratak']
    pr_nums = ['4174', '5191', '5192']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31900'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifetestsTests in the Lib/test dir

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions