Message373512
See attached image
The behavior of min() (and probably max and other related functions) changes depending on the order of the parameters it sorts.
In the image, I sorted two tuples, coordinate points, with the same Y value and different X values. When the X values were in increasing order, finding the minimum x value and minimum y value were the same. However if the list was reversed, finding the minimum x and y values in the list provided different results. |
|
Date |
User |
Action |
Args |
2020-07-11 04:02:02 | Calvin Davis | set | recipients:
+ Calvin Davis, terry.reedy |
2020-07-11 04:02:02 | Calvin Davis | set | messageid: <1594440122.62.0.379783406728.issue41276@roundup.psfhosted.org> |
2020-07-11 04:02:02 | Calvin Davis | link | issue41276 messages |
2020-07-11 04:02:02 | Calvin Davis | create | |
|