8000 Update locale alias table · Issue #64233 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Update locale alias table #64233

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

Closed
serhiy-storchaka opened this issue Dec 20, 2013 · 8 comments
Closed

Update locale alias table #64233

serhiy-storchaka opened this issue Dec 20, 2013 · 8 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member
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']

    @serhiy-storchaka
    Copy link
    Member Author

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

    @serhiy-storchaka serhiy-storchaka added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Dec 20, 2013
    @malemburg
    Copy link
    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.

    @berkerpeksag
    Copy link
    Member

    See also bpo-16555.

    @serhiy-storchaka
    Copy link
    Member Author

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

    @malemburg
    Copy link
    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.

    @python-dev
    Copy link
    Mannequin
    python-dev mannequin commented Dec 20, 2013

    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

    @serhiy-storchaka
    Copy link
    Member Author

    Thanks for your review, Marc-Andre.

    @python-dev
    Copy link
    Mannequin
    python-dev mannequin commented Dec 20, 2013

    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

    @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-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants
    0