Skip to content

No locale alias mapping key for en_IL #77613

Closed

Description

@Licht-T
mannequin
BPO 33432
Nosy @serhiy-storchaka, @Licht-T
PRs
  • bpo-33432: Add en_IL support into the locale alias mapping #6707
  • Superseder
  • bpo-20087: Mismatch between glibc and X11 locale.alias
  • 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-05-05.12:42:29.534>
    created_at = <Date 2018-05-05.12:18:32.528>
    labels = ['type-bug', 'library']
    title = 'No locale alias mapping key for en_IL'
    updated_at = <Date 2018-05-05.13:33:39.755>
    user = 'https://github.com/Licht-T'

    bugs.python.org fields:

    activity = <Date 2018-05-05.13:33:39.755>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-05-05.12:42:29.534>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2018-05-05.12:18:32.528>
    creator = 'licht-t'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33432
    keywords = ['patch']
    message_count = 4.0
    messages = ['316206', '316207', '316210', '316212']
    nosy_count = 2.0
    nosy_names = ['serhiy.storchaka', 'licht-t']
    pr_nums = ['6707']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '20087'
    type = 'behavior'
    url = 'https://bugs.python.org/issue33432'
    versions = ['Python 3.6']

    Activity

    1. Licht-T commented on May 5, 2018

      Licht-Tmannequin
      MannequinAuthor

      The new locale en_IL is added to glibc.
      But there is no key for this in the locale alias mapping.
      https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=146ffc146fe3bf97cd3bc1a649f1ffa8acfa4a0d
      https://github.com/python/cpython/blob/master/Lib/locale.py#L850

      The locale in latest Ubuntu 18.04 contains en_IL as valid locale, but Python cannot resolve this.
      This makes test failure in pandas.
      pandas-dev/pandas#20957

      (pandas-dev) [pandas] locale -a
      C
      C.UTF-8
      en_AG
      en_AG.utf8
      en_AU.utf8
      en_BW.utf8
      en_CA.utf8
      en_DK.utf8
      en_GB.utf8
      en_HK.utf8
      en_IE.utf8
      en_IL
      en_IL.utf8
      en_IN
      en_IN.utf8
      en_NG
      en_NG.utf8
      en_NZ.utf8
      en_PH.utf8
      en_SG.utf8
      en_US.utf8
      en_ZA.utf8
      en_ZM
      en_ZM.utf8
      en_ZW.utf8
      ja_JP.utf8
      POSIX
      
    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-bugAn unexpected behavior, bug, or error
      on May 5, 2018
    3. serhiy-storchaka commented on May 5, 2018

      @serhiy-storchaka
      Member

      This is a duplicate of bpo-20087. The patch that adds an alias for en_IL was merged, but then reverted.

    4. Licht-T commented on May 5, 2018

      Licht-Tmannequin
      MannequinAuthor

      en_IL has significant impact because this is English locale and now supported in the latest Ubuntu. Is there any plan to add only en_IL?

    5. serhiy-storchaka commented on May 5, 2018

      @serhiy-storchaka
      Member

      This should be discussed in bpo-20087.

    6. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions