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 should be added in msgfmt.py. GNU msgfmt checks that plural= and nplurals= are specified if there are plural form translations. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue12425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com