[prev in list] [next in list] [prev in thread] [next in thread]
List: python-bugs-list
Subject: [issue40835] Incorrect handling for msgctxt in msgfmt.py
From: Doug Addy <report () bugs ! python ! org>
Date: 2020-05-31 21:16:05
Message-ID: 1590959765.38.0.400418496831.issue40835 () roundup ! psfhosted ! org
[Download RAW message or body]
Doug Addy <da1910@protonmail.com> added the comment:
And a patch:
After the end of a message entry the options for the next line are:
1. A comment - we already reset msgctxt to None here
2. A blank line - we can have empty lines anywhere we want, so do nothing
3. A new msgctxt line - Set msgctxt to the new context
4. A msgid - This is the current failing behaviour. Fix sets msgctxt back to None.
----------
keywords: +patch
Added file: https://bugs.python.org/file49206/40835.patch
_______________________________________
Python tracker <report@bugs.python.org>
<https://bugs.python.org/issue40835>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic