Skip to content

Update locale alias table #64233

Description

@serhiy-storchaka
BPO 20034
Nosy @malemburg, @loewis, @berkerpeksag, @serhiy-storchaka
Files
  • locale_aliases_77.patch
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2013-12-20.16:27:01.361>
    created_at = <Date 2013-12-20.11:36:45.601>
    labels = ['type-feature', 'library']
    title = 'Update locale alias table'
    updated_at = <Date 2013-12-20.16:51:44.564>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2013-12-20.16:51:44.564>
    actor = 'python-dev'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-12-20.16:27:01.361>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2013-12-20.11:36:45.601>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['33232']
    hgrepos = []
    issue_num = 20034
    keywords = ['patch']
    message_count = 8.0
    messages = ['206676', '206679', '206681', '206686', '206688', '206690', '206691', '206693']
    nosy_count = 5.0
    nosy_names = ['lemburg', 'loewis', 'python-dev', 'berker.peksag', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue20034'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Activity

    1. serhiy-storchaka commented on Dec 20, 2013

      @serhiy-storchaka
      MemberAuthor

      Proposed patch updates locale alias table to most recent locale.alias file (from X.org 7.7 distribution).

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      type-featureA feature request or enhancement
      on Dec 20, 2013
    3. malemburg commented on Dec 20, 2013

      @malemburg
      Member

      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.1

      So 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.

    4. berkerpeksag commented on Dec 20, 2013

      @berkerpeksag
      Member

      See also bpo-16555.

    5. serhiy-storchaka commented on Dec 20, 2013

      @serhiy-storchaka
      MemberAuthor

      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.*

    6. malemburg commented on Dec 20, 2013

      @malemburg
      Member

      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.

    7. python-dev commented on Dec 20, 2013

      python-devmannequin
      Mannequin

      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/81f8375e60ce

      New 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/ed62c4c70c4d

    8. serhiy-storchaka commented on Dec 20, 2013

      @serhiy-storchaka
      MemberAuthor

      Thanks for your review, Marc-Andre.

    9. python-dev commented on Dec 20, 2013

      python-devmannequin
      Mannequin

      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

    10. 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

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions