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

locale.getdefaultencoding: LANGUAGE not correctly parsed #41725

Closed
doko42 opened this issue Mar 20, 2005 · 2 comments
Closed

locale.getdefaultencoding: LANGUAGE not correctly parsed #41725

doko42 opened this issue Mar 20, 2005 · 2 comments
Labels
stdlib Python modules in the Lib dir

Comments

@doko42
Copy link
Member

doko42 commented Mar 20, 2005

BPO 1166938
Nosy @doko42
Files
  • locale1.diff
  • 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 2005-09-20.07:05:21.000>
    created_at = <Date 2005-03-20.12:57:10.000>
    labels = ['library']
    title = 'locale.getdefaultencoding: LANGUAGE not correctly parsed'
    updated_at = <Date 2005-09-20.07:05:21.000>
    user = 'https://github.com/doko42'

    bugs.python.org fields:

    activity = <Date 2005-09-20.07:05:21.000>
    actor = 'doko'
    assignee = 'none'
    closed = True
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2005-03-20.12:57:10.000>
    creator = 'doko'
    dependencies = []
    files = ['6556']
    hgrepos = []
    issue_num = 1166938
    keywords = ['patch']
    message_count = 2.0
    messages = ['48008', '48009']
    nosy_count = 1.0
    nosy_names = ['doko']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1166938'
    versions = ['Python 2.4']

    @doko42
    Copy link
    Member Author

    doko42 commented Mar 20, 2005

    According to gettext(3), "LANGUAGE is assumed to
    contain a colon separated list of locale names.". Fix
    it by taking the string up to the first colon as
    localename.

    @doko42 doko42 closed this as completed Mar 20, 2005
    @doko42 doko42 added the stdlib Python modules in the Lib dir label Mar 20, 2005
    @doko42 doko42 closed this as completed Mar 20, 2005
    @doko42 doko42 added the stdlib Python modules in the Lib dir label Mar 20, 2005
    @doko42
    Copy link
    Member Author

    doko42 commented Sep 20, 2005

    Logged In: YES
    user_id=60903

    checked in as
    Lib/locale.py: 1.32 (HEAD)
    Lib/locale.py: 1.28.4.2 (2.4 branch)

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 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
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant