[issue9741] msgfmt.py generates invalid mo because msgfmt.make() does not clear dictionary

Timothy Lee report at bugs.python.org
Thu Sep 2 16:31:42 CEST 2010


New submission from Timothy Lee <timothy.ty.lee at gmail.com>:

This bug can potentially lead to generation of invalid mo files when msgfmt.make() is invoked more than once.

The bug has always been present in the source code.  The included patch should be applied to all maintained branches.

----------
components: Demos and Tools
files: msgfmt-clear.diff
keywords: patch
messages: 115378
nosy: timothy.ty.lee
priority: normal
severity: normal
status: open
title: msgfmt.py generates invalid mo because msgfmt.make() does not clear dictionary
type: behavior
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file18710/msgfmt-clear.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9741>
_______________________________________


More information about the Python-bugs-list mailing list