
Jan. 27, 2015
3:56 p.m.
On 01/26/2015 09:08 PM, Steven D'Aprano wrote:
Asymmetry is bad, because it is rather surprising and counter-intuitive that "x is close to y", but "y is not close to x". It may also be bad in a practical sense, because people will forget which order they need to give x and y and will give them in the wrong order. I started off with an approx_equal function in test_statistics that was symmetric, and I could never remember which way the arguments went.
Would it help if it was consistent order wise with other python functions such as is_instance? Ron