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 mark.dickinson
Recipients georg.brandl, loewis, mark.dickinson, oneg, sgala
Date 2009-01-16.10:35:02
SpamBayes Score 0.06469006
Marked as misclassified No
Message-id <1232102104.61.0.818836961932.issue1672332@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch, against the trunk, that simply amends load_float to ignore 
errno on underflow (while retaining it on overflow).  This fixes the problem on my machine.

The added tests may be a little severe.  There's no *good* reason why 
dumping and then loading a float on the same machine shouldn't produce 
exactly the same value, but there are likely many bad reasons.  I propose 
to checkin the change and watch the buildbots carefully;  if there are 
failures I'll weaken the tests to check for approximate equality instead 
of exact equality.
History
Date User Action Args
2009-01-16 10:35:04mark.dickinsonsetrecipients: + mark.dickinson, loewis, georg.brandl, sgala, oneg
2009-01-16 10:35:04mark.dickinsonsetmessageid: <1232102104.61.0.818836961932.issue1672332@psf.upfronthosting.co.za>
2009-01-16 10:35:04mark.dickinsonlinkissue1672332 messages
2009-01-16 10:35:03mark.dickinsoncreate