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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1840>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to