Mark Dickinson <dicki...@gmail.com> added the comment: > It is possible that it returns NaN
How is that possible? I can't see any way that the Python 2.7 implementation of floattime could return a NaN. In each case, floattime appears to be extracting integer fields from some suitable struct, and then combining them to produce a double; I can't see any scope for producing a NaN in any of the formulas used. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14613> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com