[New-bugs-announce] [issue1840] Tools/i18n/msgfmt.py fixes for Python 3.0
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
title: Tools/i18n/msgfmt.py fixes for Python 3.0
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