homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:54pvgsetrecipients: + pvg
2012年05月24日 01:16:54pvgsetmessageid: <1337822214.65.0.825826573046.issue14896@psf.upfronthosting.co.za>
2012年05月24日 01:16:53pvglinkissue14896 messages
2012年05月24日 01:16:53pvgcreate

AltStyle によって変換されたページ (->オリジナル) /