[issue29097] datetime.fromtimestamp(t) when 0 <= t <= 86399 fails on Python 3.6

Alexander Belopolsky report at bugs.python.org
Thu Dec 29 13:11:00 EST 2016


Alexander Belopolsky added the comment:

I think we should just clip the negative lower probe value to 0 on Windows before passing it to local().  Also, if we still care about platforms with 32-bit time_t, we should check for over/under flow *before* calling local().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29097>
_______________________________________


More information about the Python-bugs-list mailing list