On Sun, Dec 29, 2019 at 08:32:52PM -0800, Andrew Barnert via Python-ideas wrote:

> The 95% case is handled by just ignore and raise. Novices should 
> probably never be using anything else.
> 
> Experts will definitely often want poison. And probably sometimes fast 
> for backward compatibility and/or performance. That gets you to 98%.
> 
> Experts will rarely but not never want total order.

Can you explain the scenario where somebody using median will want 
negative NANs to sort to the beginning, below -INF, and positive NANs to 
sort to the end, above +INF?

I have no doubt that total order for floats is useful. I just want to 
know when it would be useful for users of median.


> And experts might also want something different from IEEE total order, 
> like uniformly pushing all NaNs to the end.

Likewise. I'm sure there are many uses of sorting NANs to one end, but 
when will it be useful for median?



-- 
Steven
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/RX6FH22RHDSCK7Z5XWHKBKNXCG5Q456B/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to