Message161471
| Author |
pvg |
| Recipients |
pvg |
| Date |
2012年05月24日.01:16:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1337822214.65.0.825826573046.issue14896@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Since strings cannot reliably be converted to floats and back, plistlib should provide an option to treat the real datatype as strings/data or to use the Decimal library class. Currently, reading and then writing a real value can change its representation in the plist even if it has not been modified. For instance:
Read:
<real>0.015</real>
Written:
<real>0.014999999999999999</real>
or
Read:
<real>0.4</real>
Written:
<real>0.40000000000000002</real> |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年05月24日 01:16:54 | pvg | set | recipients:
+ pvg |
| 2012年05月24日 01:16:54 | pvg | set | messageid: <1337822214.65.0.825826573046.issue14896@psf.upfronthosting.co.za> |
| 2012年05月24日 01:16:53 | pvg | link | issue14896 messages |
| 2012年05月24日 01:16:53 | pvg | create |
|