Mark Dickinson added the comment: > If we take this route, what float('inf') // 1 and float('nan') // 1 should > return?
Probably exactly the same as they do right now. I think there's an argument that `float('inf') // 1` "should have been" `float('inf')`. But I'm not sure there's much of a case for *changing* the current return value. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22444> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com