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 straz
Recipients nedbat, r.david.murray, straz
Date 2013-05-03.19:38:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367609884.01.0.642089899104.issue17898@psf.upfronthosting.co.za>
In-reply-to
Content
There seem to be several bugs involving this particular inner loop in gettext._parse(), but I don't think they're equivalent.

The present bug (issue17898) is that parsing a plural header breaks the following header when it happens to be a comment.

issue1475523 seems to involve multi-line handling

issue12425 seems to involve breaking when the plural-forms value is empty.

Perhaps a useful design pattern to follow for code which executes this inner loop would be to have some initialization and loop invariants which are asserted true on each iteration. For example, properly initializing k and v on each iteration.
History
Date User Action Args
2013-05-03 19:38:04strazsetrecipients: + straz, nedbat, r.david.murray
2013-05-03 19:38:04strazsetmessageid: <1367609884.01.0.642089899104.issue17898@psf.upfronthosting.co.za>
2013-05-03 19:38:03strazlinkissue17898 messages
2013-05-03 19:38:03strazcreate