Issue 33432: No locale alias mapping key for en_IL (original) (raw)

Issue33432

Created on 2018-05-05 12:18 by licht-t, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 6707 closed licht-t,2018-05-05 12:41
Messages (4)
msg316206 - (view) Author: Licht Takeuchi (licht-t) * Date: 2018-05-05 12:18
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. https://github.com/pandas-dev/pandas/issues/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 ```
msg316207 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-05-05 12:42
This is a duplicate of . The patch that adds an alias for en_IL was merged, but then reverted.
msg316210 - (view) Author: Licht Takeuchi (licht-t) * Date: 2018-05-05 13:27
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?
msg316212 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-05-05 13:33
This should be discussed in .
History
Date User Action Args
2022-04-11 14:59:00 admin set github: 77613
2018-05-05 13:33:39 serhiy.storchaka set messages: +
2018-05-05 13:27:58 licht-t set messages: +
2018-05-05 12:42:29 serhiy.storchaka set status: open -> closedsuperseder: Mismatch between glibc and X11 locale.aliasnosy: + serhiy.storchakamessages: + resolution: duplicatestage: patch review -> resolved
2018-05-05 12:41:23 licht-t set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest6400>
2018-05-05 12🔞32 licht-t create