[issue36439] [Windows] datetime.fromtimestamp(t) when t < 0 fails on Python 3.6

2019-03-26 Thread Mickaël Schoentgen
Mickaël Schoentgen added the comment: And also reproduced on 3.8.0a3. -- versions: +Python 3.8 ___ Python tracker ___ ___

[issue36439] [Windows] datetime.fromtimestamp(t) when t < 0 fails on Python 3.6

2019-03-26 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36439] [Windows] datetime.fromtimestamp(t) when t < 0 fails on Python 3.6

2019-03-26 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36439] [Windows] datetime.fromtimestamp(t) when t < 0 fails on Python 3.6

2019-03-26 Thread Mickaël Schoentgen
Mickaël Schoentgen added the comment: Reproduced on 3.6.8 and 3.7.3. -- type: -> behavior versions: +Python 3.7 ___ Python tracker ___

[issue36439] [Windows] datetime.fromtimestamp(t) when t < 0 fails on Python 3.6

2019-03-26 Thread Mickaël Schoentgen
New submission from Mickaël Schoentgen : A similar issue was resolved with issue29097 (with 0 <= t <= 86399). Here, we have an inconsistency between OSes when using datetime.fromtimestamp(t) when t < 0. Tested on Python 3.6.7. GNU/Linux: >>> datetime.fromtimestamp(-1) datetime.datetime(1970,