Message280792
| Author |
Tim.Graham |
| Recipients |
Carl Ekerot, Tim.Graham, christian.heimes, loewis, python-dev, serhiy.storchaka, xiang.zhang |
| Date |
2016年11月14日.16:49:45 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1479142185.09.0.284005233013.issue28563@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Yes, that fixes the second test. Current warning (with stacklevel=3):
/home/tim/code/cpython/Lib/gettext.py:454: DeprecationWarning: Plural value must be an integer, got 1.29
tmsg = self._catalog[(msgid1, self.plural(n))]
Possibly the stacklevel should instead be 4:
/home/tim/code/django/django/utils/translation/trans_real.py:373: DeprecationWarning: Plural value must be an integer, got 1.29
return getattr(t, translation_function)(singular, plural, number) |
|