Message224114
| Author |
mark.dickinson |
| Recipients |
eric.smith, mark.dickinson, skrah |
| Date |
2014年07月27日.10:08:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1406455723.52.0.997283705437.issue22090@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
There's a minor inconsistency between Decimal and float formatting for the `%` format type when handling infinities and nans:
>>> from decimal import Decimal
>>> format(float('inf'), '.2%') # includes trailing '%'
'inf%'
>>> format(Decimal('inf'), '.2%') # no trailing '%'
'Infinity'
I think the Decimal result should have a '%' on it. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年07月27日 10:08:43 | mark.dickinson | set | recipients:
+ mark.dickinson, eric.smith, skrah |
| 2014年07月27日 10:08:43 | mark.dickinson | set | messageid: <1406455723.52.0.997283705437.issue22090@psf.upfronthosting.co.za> |
| 2014年07月27日 10:08:43 | mark.dickinson | link | issue22090 messages |
| 2014年07月27日 10:08:43 | mark.dickinson | create |
|