Repository navigation
Update locale alias table #64233
Description
Activity
Proposed patch updates locale alias table to most recent locale.alias file (from X.org 7.7 distribution).
- addedstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement
on Dec 20, 2013 On 20.12.2013 12:36, Serhiy Storchaka wrote:
Proposed patch updates locale alias table to most recent locale.alias file (from X.org 7.7 distribution).
Looks good.
BTW, regarding the devanagari cases:
There is some recent activity in glibc related to these. Here's a
patch that adds the sd_IN@devanagari locale to glibc:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/localedata/locales/sd_IN@devanagari.diff?cvsroot=glibc&r1=NONE&r2=1.1So they will start working once platforms adopt the new
glibc versions.The @-modifier is applied to the locale, not the encoding, because
the locale uses a different script, as opposed to limiting itself
to part of an encoding. This looks reasonable, even though I'm
not sure it conforms to standards.See also bpo-16555.
Looks good.
Should these patch be applied only to 3.4 or to all maintained
releases? I suppose the later, because alias table which is not
conform recent systems configuration is a bug.BTW, regarding the devanagari cases:
This patch only updates the devanagari cases in conform to
locale.alias file. *bpo-20027 should fix support of these cases.*On 20.12.2013 16:12, Serhiy Storchaka wrote:
Serhiy Storchaka added the comment:
> Looks good.
Should these patch be applied only to 3.4 or to all maintained
releases? I suppose the later, because alias table which is not
conform recent systems configuration is a bug.Agreed.
> BTW, regarding the devanagari cases:
This patch only updates the devanagari cases in conform to
locale.alias file. *bpo-20027 should fix support of these cases.*Ok.
New changeset 81f8375e60ce by Serhiy Storchaka in branch '2.7':
Issue bpo-20034: Updated alias mapping to most recent locale.alias file
http://hg.python.org/cpython/rev/81f8375e60ceNew changeset ed62c4c70c4d by Serhiy Storchaka in branch '3.3':
Issue bpo-20034: Updated alias mapping to most recent locale.alias file
http://hg.python.org/cpython/rev/ed62c4c70c4dThanks for your review, Marc-Andre.
New changeset 72e68af9e2fa by Serhiy Storchaka in branch 'default':
Issue bpo-20034: Updated alias mapping to most recent locale.alias file
http://hg.python.org/cpython/rev/72e68af9e2fa
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:
bugs.python.org fields: