Tal Einat added the comment: Attached is a revised patch including changed due to the reviews by Berker and Yuri.
The significant changes from the previous patch are: 1. The "rel_tol" and "abs_tol" parameters have been made keyword-only. 2. The tests have been extracted into a separate TestCase sub-class. They are now better organized and will be easy to re-use for testing cmath.isclose when it is added (hopefully soon). ---------- Added file: http://bugs.python.org/file39509/math_isclose_v3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24270> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com