Message79949
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. |
|
Date |
User |
Action |
Args |
2009-01-16 10:35:04 | mark.dickinson | set | recipients:
+ mark.dickinson, loewis, georg.brandl, sgala, oneg |
2009-01-16 10:35:04 | mark.dickinson | set | messageid: <1232102104.61.0.818836961932.issue1672332@psf.upfronthosting.co.za> |
2009-01-16 10:35:04 | mark.dickinson | link | issue1672332 messages |
2009-01-16 10:35:03 | mark.dickinson | create | |
|