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 steven.daprano
Recipients AVicennA, docs@python, koobs, ned.deily, paul.moore, ronaldoussoren, steve.dower, steven.daprano, terry.reedy, tim.golden, zach.ware
Date 2019-12-16.10:02:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576490523.98.0.649730765595.issue39059@roundup.psfhosted.org>
In-reply-to
Content
You've spent a lot of time demonstrating behaviour, but have not given us any reason why you think the results given are wrong.

As far as I can tell, every single example you show is correct. You have even quoted one of the relevant sections from the docs. "This is not a bug..."

You've flagged this is a documentation bug, an IDLE bug, an interpreter core bug, a library bug, etc. It isn't all of those things! I don't know what you actually want: do you want to improve the documentation? Something else?

By the way, your function "my_round" is buggy. This is wrong:

my_round(2.675, 2)
2.68

The binary float 2.675 is exactly equal to 3011782250804019/1125899906842624, or in decimal, exactly 

2.67499999999999982236431605997495353221893310546875

Rounding to two decimal places is 2.67, not 2.68.

Can you explain why we shouldn't close this as Not A Bug?
History
Date User Action Args
2019-12-16 10:02:04steven.dapranosetrecipients: + steven.daprano, terry.reedy, paul.moore, ronaldoussoren, tim.golden, ned.deily, docs@python, zach.ware, koobs, steve.dower, AVicennA
2019-12-16 10:02:03steven.dapranosetmessageid: <1576490523.98.0.649730765595.issue39059@roundup.psfhosted.org>
2019-12-16 10:02:03steven.dapranolinkissue39059 messages
2019-12-16 10:02:03steven.dapranocreate