[issue12425] gettext breaks on empty plural-forms value

2017-09-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, I don't see a value of issuing warning if the following line of the code is failed. Why not raise an exception instead? A warning can be issued in the case of lacking nplurals= which is not used in Python implementation. I think additional checks sho

[issue12425] gettext breaks on empty plural-forms value

2015-04-13 Thread Ned Deily
Ned Deily added the comment: LGTM -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue12425] gettext breaks on empty plural-forms value

2015-04-13 Thread A.M. Kuchling
A.M. Kuchling added the comment: Here's a patch against 3.5. This patch is atop the fix for #17898, so it won't apply cleanly to a stock 3.5. The patch uses warnings.warn() to issue a warning if the plural header is empty. There seems to be precedent for issuing warnings in the case of odd in

[issue12425] gettext breaks on empty plural-forms value

2013-05-31 Thread Bohuslav "Slavek" Kabrda
Changes by Bohuslav "Slavek" Kabrda : -- nosy: +bkabrda ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue12425] gettext breaks on empty plural-forms value

2013-05-10 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12425] gettext breaks on empty plural-forms value

2011-06-29 Thread Éric Araujo
Éric Araujo added the comment: IIUC, this comes up with invalid po files, so this report is about graceful error handling, not strictly a bug. If https://bugzilla.redhat.com/attachment.cgi?id=489427 was applied, gettext would not fail anymore, but the invalid line would not be reported IIUC.

[issue12425] gettext breaks on empty plural-forms value

2011-06-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue12425] gettext breaks on empty plural-forms value

2011-06-28 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : See https://bugzilla.redhat.com/show_bug.cgi?id=692632 for more details and a proposed patch. -- components: Library (Lib) messages: 139347 nosy: djc priority: normal severity: normal status: open title: gettext breaks on empty plural-forms value ve