Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2018-01-16.18:06:34.145>created_at=<Date2017-12-21.21:54:13.191>labels= ['3.7', '3.8']
title='fromtimestamp does not call __new__ in datetime subclasses'updated_at=<Date2018-01-16.18:06:34.144>user='https://github.com/pganssle'
In writing some tests for the alternate date constructors as part of my PR for bpo-32403 (https://bugs.python.org/issue32403), I noticed that for datetime, the fromtimestamp bypasses the __new__ call on the subclass:
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: