This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author da1910
Recipients da1910
Date 2020-05-31.20:56:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590958612.57.0.0461215305569.issue40835@roundup.psfhosted.org>
In-reply-to
Content
Running msgfmt.py with the attached po file will produce an incorrect context for the entry "test".

Looking at the script, we require a comment to follow a contexted section for the context to be cleared. The gettext documentation makes clear that all comments are optional, so this is not desired behaviour.

My reading of the gettext documentation has a "msgctxt" line applying only to the current entry, so it should be cleared once the last msgstr has been written for that entry.

I will endeavour to provide a patch within the next day or two.
History
Date User Action Args
2020-05-31 20:56:52da1910setrecipients: + da1910
2020-05-31 20:56:52da1910setmessageid: <1590958612.57.0.0461215305569.issue40835@roundup.psfhosted.org>
2020-05-31 20:56:52da1910linkissue40835 messages
2020-05-31 20:56:52da1910create