Skip to content

msgfmt.py generates invalid mo because msgfmt.make() does not clear dictionary #53950

Open
@timothytylee

Description

@timothytylee
BPO 9741
Nosy @loewis, @akuchling, @ezio-melotti, @merwok
PRs
  • gh-79516: allow msgfmt.py to compile multiple input po files #10875
  • Files
  • msgfmt-clear.diff: 2 line patch to clear dictionary at start of msgfmt.make()
  • test_msgfmt.py: Test program to check behaviour before and after applying the patch
  • test1.po: 1st of 2 .po files used by test program
  • test2.po: 2nd of 2 .po files used by test program
  • 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/merwok'
    closed_at = None
    created_at = <Date 2010-09-02.14:31:41.028>
    labels = ['type-bug']
    title = 'msgfmt.py generates invalid mo because msgfmt.make() does not clear dictionary'
    updated_at = <Date 2018-12-03.19:33:03.946>
    user = 'https://bugs.python.org/timothytylee'

    bugs.python.org fields:

    activity = <Date 2018-12-03.19:33:03.946>
    actor = 's-ball'
    assignee = 'eric.araujo'
    closed = False
    closed_date = None
    closer = None
    components = ['Demos and Tools']
    creation = <Date 2010-09-02.14:31:41.028>
    creator = 'timothy.ty.lee'
    dependencies = []
    files = ['18710', '22368', '22369', '22370']
    hgrepos = []
    issue_num = 9741
    keywords = ['patch', 'needs review']
    message_count = 5.0
    messages = ['115378', '138336', '138372', '195472', '240901']
    nosy_count = 5.0
    nosy_names = ['loewis', 'akuchling', 'ezio.melotti', 'eric.araujo', 'timothy.ty.lee']
    pr_nums = ['10875']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue9741'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Linked PRs

    Metadata

    Metadata

    Assignees

    Labels

    triagedThe issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or error

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions