Message188324
| 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:04 | straz | set | recipients:
+ straz, nedbat, r.david.murray |
| 2013年05月03日 19:38:04 | straz | set | messageid: <1367609884.01.0.642089899104.issue17898@psf.upfronthosting.co.za> |
| 2013年05月03日 19:38:03 | straz | link | issue17898 messages |
| 2013年05月03日 19:38:03 | straz | create |
|