This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Dennis Sweeney, joel.larose, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano
Date 2021-06-13.09:17:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623575860.86.0.898201024591.issue44370@roundup.psfhosted.org>
In-reply-to
Content
> There's also a somewhat arbitrary choice to be made here: 
> do we consider NaNs to be negative or positive?
>  That is, do we want NaNs to sort to the beginning of the 
> list, or the end?

I had suggested putting NaNs at the beginning because that is how None was sorted in Python 2.  But that doesn't really need to be a guide.  Likely the best choice is to follow numpy's decision, placing NaNs at the end.
History
Date User Action Args
2021-06-13 09:17:40rhettingersetrecipients: + rhettinger, mark.dickinson, steven.daprano, serhiy.storchaka, Dennis Sweeney, joel.larose
2021-06-13 09:17:40rhettingersetmessageid: <1623575860.86.0.898201024591.issue44370@roundup.psfhosted.org>
2021-06-13 09:17:40rhettingerlinkissue44370 messages
2021-06-13 09:17:40rhettingercreate