Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No locale alias mapping key for en_IL #77613

Closed
Licht-T mannequin opened this issue May 5, 2018 · 4 comments
Closed

No locale alias mapping key for en_IL #77613

Licht-T mannequin opened this issue May 5, 2018 · 4 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@Licht-T
Copy link
Mannequin

Licht-T mannequin commented May 5, 2018

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']

    @Licht-T
    Copy link
    Mannequin Author

    Licht-T mannequin commented May 5, 2018

    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
    

    @Licht-T Licht-T mannequin added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels May 5, 2018
    @serhiy-storchaka
    Copy link
    Member

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

    @Licht-T
    Copy link
    Mannequin Author

    Licht-T mannequin commented May 5, 2018

    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?

    @serhiy-storchaka
    Copy link
    Member

    This should be discussed in bpo-20087.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant