Steven D'Aprano <st...@pearwood.info> wrote: > 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? > >
No, and I don’t think anyone really wants that. I think it was proposed as a possible improvement on non-deterministic results, and/or a way to address this issue by only changing how the sorting is done. Whether IEEE total order is useful in some other contexts is a totally separate question. -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ 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/EYQ4CWEUQZEOQCI7ZWORK42MW5HJ4HOE/ Code of Conduct: http://python.org/psf/codeofconduct/