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 mark.dickinson, srid
Date 2009-08-14.17:14:30
SpamBayes Score 9.173773e-12
Marked as misclassified No
Message-id <1250270072.56.0.327892433942.issue6646@psf.upfronthosting.co.za>
In-reply-to
Content
Closing this as a won't fix:  as far as I can tell, the test failure is 
due to a platform deficiency (string <-> float conversions provided by the 
C standard library aren't correctly rounded; moreover, they're not 
accurate enough that converting a C double to 17 significant digits and 
back recovers the original double).  It's not clear what Python can 
reasonably do to fix this.  I'd prefer not to disable or weaken these 
tests, since they're useful on other platforms.

srid, if you do have any alternative suggestions about how this might be 
fixed then please do submit them.

For what it's worth, this particular failure should no longer be a problem 
in Python 3.1 and higher, since 3.1 uses its own string <-> float 
conversion code (based on David Gay's dtoa.c).
History
Date User Action Args
2009-08-14 17:14:32mark.dickinsonsetrecipients: + mark.dickinson, srid
2009-08-14 17:14:32mark.dickinsonsetmessageid: <1250270072.56.0.327892433942.issue6646@psf.upfronthosting.co.za>
2009-08-14 17:14:31mark.dickinsonlinkissue6646 messages
2009-08-14 17:14:30mark.dickinsoncreate