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

Aperta
#53,950 6 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@merwok ci sta già lavorando.

Dal 15/6/2011.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

triaged type-bug
BPO 9741
Nosy @loewis, @akuchling, @ezio-melotti, @merwok
PRs
  • python/cpython#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
    • gh-133316
    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.