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 belopolsky, facundobatista, mark.dickinson, rhettinger, serhiy.storchaka, skrah, stutzbach, wolma
Date 2017-11-08.16:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510159073.54.0.213398074469.issue31978@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't know whether there is a common enough need in third-party code.

Me neither. But one thing to look for would be people doing `round(a / b)`, which is almost certainly giving the wrong result in corner cases. OTOH, even those uses may well be in code that doesn't actually care about getting the wrong result in those corner cases, or that doesn't exercise the corner cases. (E.g., if both `a` and `b` are not-too-large integers, `round(a / b)` is still "safe" in that it will give the same result as if a non-lossy integer division is used.)
History
Date User Action Args
2017-11-08 16:37:53mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, facundobatista, belopolsky, stutzbach, skrah, serhiy.storchaka, wolma
2017-11-08 16:37:53mark.dickinsonsetmessageid: <1510159073.54.0.213398074469.issue31978@psf.upfronthosting.co.za>
2017-11-08 16:37:53mark.dickinsonlinkissue31978 messages
2017-11-08 16:37:53mark.dickinsoncreate