Serhiy Storchaka added the comment:

Proposed patch makes gettext accepting non-integer numbers. But 
DeprecationWarning is emitted if this number have fractional part (because in 
this case the result of current code can be different from the result of old 
code). I think Django tests should be passed without errors and warnings.

In future versions (probably in 3.7) this warning will be replaced with 
TypeError or ValueError, and new warning will be added for all non-integer 
numbers.

----------
stage: resolved -> patch review
status: closed -> open
Added file: http://bugs.python.org/file45481/gettext-non-integer-plural.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28563>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to