Mark Dickinson added the comment: More info: the reason for the difference is that in Python 3.4, float("nan") and float("inf") create the float directly from the appropriate bit-pattern, rather than deferring to the platform's definition of nan. This change was introduced to avoid obscure problems on platforms where the Py_NAN macros were causing compile-time errors. There should be a (resolved, fixed) issue about this somewhere on the tracker, but I don't have the number handy right now.
I don't consider this a bug. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22590> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com