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 Kiriakos.Vlahos
Recipients Kiriakos.Vlahos, brian.curtin, eric.smith, loewis, mark.dickinson, sjmachin, skrah
Date 2010-09-29.21:13:03
SpamBayes Score 0.0047774455
Marked as misclassified No
Message-id <1285794785.71.0.95989950332.issue9980@psf.upfronthosting.co.za>
In-reply-to
Content
Let me that add that it is impossible to fully unit test for the correctness of the str(float).  I only found out by accident, because one of the users bumped into such a case.  I tried to find a pattern in the misbehaved cased and it was rather difficult.  Here is what I got but it is not conclusive

-  If the number has decimal points it prints correctly. Problems only occur with xxxxxx.0
-  More specifically they only occur with xxxxx1.0
-  Small numbers (less than 10000) print OK.
History
Date User Action Args
2010-09-29 21:13:05Kiriakos.Vlahossetrecipients: + Kiriakos.Vlahos, loewis, sjmachin, mark.dickinson, eric.smith, brian.curtin, skrah
2010-09-29 21:13:05Kiriakos.Vlahossetmessageid: <1285794785.71.0.95989950332.issue9980@psf.upfronthosting.co.za>
2010-09-29 21:13:04Kiriakos.Vlahoslinkissue9980 messages
2010-09-29 21:13:03Kiriakos.Vlahoscreate