[New-bugs-announce] [issue1840] Tools/i18n/msgfmt.py fixes for Python 3.0

Peter Harris report at bugs.python.org
Wed Jan 16 11:48:46 CET 2008

New submission from Peter Harris:

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.

components: Demos and Tools
files: msgfmt.diff
messages: 59994
nosy: scav
severity: normal
status: open
title: Tools/i18n/msgfmt.py fixes for Python 3.0
type: crash
versions: Python 3.0
Added file: http://bugs.python.org/file9185/msgfmt.diff

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list