Raymond Hettinger added the comment: -1 for a warning. A should really have *no* expectations about a NaNs sort order. For the most part, Python does not get into warnings business for every possible weird thing you could tell it to do (especially something as harmless as this).
Also warnings are a bit of PITA to shut-off. For something like NaN ordering, a warning is likely to inflict more harm on the users than the NaN ordering issue itself. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11949> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com