Message336421
This issue isn't sorting. The issue is with what NaNs do. You can propose to "fix" NaNs rather than special casing everything else in Python that compares two values.
A NaN could be given a deterministic sort order relative to other floats (much as None used to compare less than everything else), That said, you'll find people who argue than NaNs aren't broken and are doing exactly what they're supposed to do.
Please take this to python-ideas. From my point of view, the current proposal is a non-starter. |
|
Date |
User |
Action |
Args |
2019-02-24 02:56:00 | rhettinger | set | recipients:
+ rhettinger, tim.peters, mark.dickinson, serhiy.storchaka, cheryl.sabella, brandtbucher |
2019-02-24 02:55:59 | rhettinger | set | messageid: <1550976959.98.0.121800747188.issue36095@roundup.psfhosted.org> |
2019-02-24 02:55:59 | rhettinger | link | issue36095 messages |
2019-02-24 02:55:59 | rhettinger | create | |
|