Message280784
| Author |
serhiy.storchaka |
| Recipients |
Carl Ekerot, Tim.Graham, christian.heimes, loewis, python-dev, serhiy.storchaka, xiang.zhang |
| Date |
2016年11月14日.15:53:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1479138809.24.0.602949506222.issue28563@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|