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 dingo, giampaolo.rodola, mark.dickinson
Date 2008-12-20.18:41:04
SpamBayes Score 0.0028244401
Marked as misclassified No
Message-id <>
Correction: it looks like two bugs to me.

I think the wrong-return-type bug is rather serious, possibly a release 
blocker for 3.0.1.  I'll see if I can produce a patch.

The incorrect rounding (returning 30.0 instead of 20.0) is less serious, 
but still needs fixing.  For a start, we should eliminate the use of 
pow() in float_round, and when the second argument to round is negative 
there should be a division by a power of 10 rather than a multiplication 
by the reciprocal of a power of 10.
Date User Action Args
2008-12-20 18:41:05mark.dickinsonsetrecipients: + mark.dickinson, giampaolo.rodola, dingo
2008-12-20 18:41:05mark.dickinsonsetmessageid: <>
2008-12-20 18:41:04mark.dickinsonlinkissue4707 messages
2008-12-20 18:41:04mark.dickinsoncreate