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 eric.smith, mark.dickinson, skrah, tim.peters
Date 2010-01-15.15:20:39
SpamBayes Score 1.9362107e-05
Marked as misclassified No
Message-id <1263568841.46.0.704041614931.issue7632@psf.upfronthosting.co.za>
In-reply-to
Content
I was considering downgrading this to 'normal'.  Then I found Bug 8, and it's a biggie:

>>> 10.900000000000000012345678912345678912345
10.0

Now I'm thinking it should be upgraded to release blocker instead.

The cause is in the _Py_strtod block that starts: 'if (nd > STRTOD_DIGLIM) {'...  It truncates the input to 18 digits, and then deletes trailing zeros.  But the code that deletes the zeros is buggy, and passes over the digit '9' just before the point.
History
Date User Action Args
2010-01-15 15:20:41mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, eric.smith, skrah
2010-01-15 15:20:41mark.dickinsonsetmessageid: <1263568841.46.0.704041614931.issue7632@psf.upfronthosting.co.za>
2010-01-15 15:20:39mark.dickinsonlinkissue7632 messages
2010-01-15 15:20:39mark.dickinsoncreate