[issue43887] it seems that sorted built-in always return floats before int if they appear to be equal

2021-04-19 Thread John Mish
John Mish added the comment: Thanks, I should go deeper with it before filing. Wish You have great day Steven. -- ___ Python tracker <https://bugs.python.org/issue43

[issue43887] it seems that sorted built-in always return floats before int if they appear to be equal

2021-04-19 Thread John Mish
New submission from John Mish : A1 >>> sorted([12.001, 2, 1.999, 2.1, 4, 12]) [1.999, 2, 2.1, 4, 12, 12.002] A2 >>> sorted([12.0001, 2, 1.999, 2.1, 4, 12]) [1.999, 2, 2.1, 4, 12.0, 12] B1 >>> sorted([11.999, 2, 1.999,