Skip to content

python3 gettext.lgettext sometimes returns bytes, not string #73941

@petri

Description

@petri
mannequin
BPO 29755
Nosy @loewis, @warsaw, @serhiy-storchaka, @petri
PRs
  • bpo-29755: Fixed the lgettext() family of functions in the gettext module. #2266
  • [3.6] bpo-29755: Fixed the lgettext() family of functions in the gettext module. (GH-2266) #2297
  • [3.5] bpo-29755: Fixed the lgettext() family of functions in the gettext module. (GH-2266) #2298
  • 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 2017-06-20.15:13:52.235>
    created_at = <Date 2017-03-08.09:17:48.201>
    labels = ['3.7', 'type-bug', 'library']
    title = 'python3 gettext.lgettext sometimes returns bytes, not string'
    updated_at = <Date 2017-06-20.15:13:52.233>
    user = 'https://github.com/petri'

    bugs.python.org fields:

    activity = <Date 2017-06-20.15:13:52.233>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-06-20.15:13:52.235>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2017-03-08.09:17:48.201>
    creator = 'petri'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29755
    keywords = []
    message_count = 7.0
    messages = ['289220', '296268', '296275', '296434', '296450', '296451', '296452']
    nosy_count = 4.0
    nosy_names = ['loewis', 'barry', 'serhiy.storchaka', 'petri']
    pr_nums = ['2266', '2297', '2298']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29755'
    versions = ['Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions