[issue36439] Inconsistencies with datetime.fromtimestamp(t) when t < 0

Steve Dower report at bugs.python.org
Fri Nov 1 14:11:39 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

I've emailed some colleagues to see what they can add here.

Ultimately, the Windows CRT is just doing arithmetic, since POSIX time formats do not resemble Windows time formats at all, so it's all emulation. So if we replaced it with our own calculation I don't think that would be the worst possible outcome.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36439>
_______________________________________


More information about the Python-bugs-list mailing list