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

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

Closed
scav mannequin opened this issue Jan 16, 2008 · 4 comments
Closed

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

scav mannequin opened this issue Jan 16, 2008 · 4 comments
Assignees
Labels
type-bug An unexpected behavior, bug, or error

Comments

@scav
Copy link
Mannequin

scav mannequin commented Jan 16, 2008

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']

    @scav
    Copy link
    Mannequin Author

    scav mannequin commented Jan 16, 2008

    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.

    @scav scav mannequin added the type-crash A hard crash of the interpreter, possibly with a core dump label Jan 16, 2008
    @nnorwitz
    Copy link
    Mannequin

    nnorwitz mannequin commented Aug 24, 2008

    Is this still a problem?

    @nnorwitz nnorwitz mannequin added type-bug An unexpected behavior, bug, or error and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Aug 24, 2008
    @scav
    Copy link
    Mannequin Author

    scav mannequin commented Aug 27, 2008

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

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Sep 9, 2008

    Closing it as fixed then.

    @loewis loewis mannequin closed this as completed Sep 9, 2008
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants