[Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality (original) (raw)

Guido van Rossum guido at python.org
Tue Feb 17 19:27:29 CET 2015


The period for bikeshedding is over. On Feb 17, 2015 8:19 AM, "Mark Young" <marky1991 at gmail.com> wrote:

I don't have a real-world use case other than that sounds like something I would do with a function called isclose. I don't think we get much of anything (Except saving a few characters wen you want to define your tolerance with respect to significant digits) by forcing the error tolerances to be a power of ten. (And passing tolerance=math.log(X) is awful api design)


Python-ideas mailing list Python-ideas at python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150217/8033b2fa/attachment.html>



More information about the Python-ideas mailing list