Skip to content

Tools/i18n/msgfmt.py fixes for Python 3.0 #46161

Description

@scav
mannequin
BPO 1840
Nosy @loewis
Files
  • msgfmt.diff: Patch for msgfmt.py
  • 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/loewis'
    closed_at = <Date 2008-09-09.16:01:48.497>
    created_at = <Date 2008-01-16.10:48:21.441>
    labels = ['type-bug']
    title = 'Tools/i18n/msgfmt.py fixes for Python 3.0'
    updated_at = <Date 2008-09-09.16:01:48.496>
    user = 'https://bugs.python.org/scav'

    bugs.python.org fields:

    activity = <Date 2008-09-09.16:01:48.496>
    actor = 'loewis'
    assignee = 'loewis'
    closed = True
    closed_date = <Date 2008-09-09.16:01:48.497>
    closer = 'loewis'
    components = ['Demos and Tools']
    creation = <Date 2008-01-16.10:48:21.441>
    creator = 'scav'
    dependencies = []
    files = ['9185']
    hgrepos = []
    issue_num = 1840
    keywords = ['patch']
    message_count = 4.0
    messages = ['59994', '71895', '72022', '72878']
    nosy_count = 3.0
    nosy_names = ['loewis', 'nnorwitz', 'scav']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1840'
    versions = ['Python 3.0']

    Activity

    1. scav commented on Jan 16, 2008

      scavmannequin
      MannequinAuthor

      Python 3.0: Use bytes instead of str to construct the binary file,
      don't try to .sort a dict's keys().

      This patch is a tentative fix - in one place I've had to provide an
      encoding from str to bytes and I've guessed UTF-8, which may be OK for
      most .po files, but possibly not all.

    2. added
      type-crashA hard crash of the interpreter, possibly with a core dump
      on Jan 16, 2008
    3. nnorwitz commented on Aug 24, 2008

      nnorwitzmannequin
      Mannequin

      Is this still a problem?

    4. added
      type-bugAn unexpected behavior, bug, or error
      and removed
      type-crashA hard crash of the interpreter, possibly with a core dump
      on Aug 24, 2008
    5. scav commented on Aug 27, 2008

      scavmannequin
      MannequinAuthor

      As far as I can tell, it is OK now. Thanks!

    6. loewis commented on Sep 9, 2008

      loewismannequin
      Mannequin

      Closing it as fixed then.

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions