Author Delgan
Recipients Delgan
Date 2018-11-30.17:25:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>

I created a class inheriting from "datetime.datetime".

While creating a new instance using the classmethod "fromtimestamp" it seems to work, except if I provide a timezone object. In such case, the returned object is of base type datetime.

This looks like a bug, isn't it? If not, I guess this should be mentioned somewhere in the documentation. Tested on Python 3.6 and 3.7, my apologies if this has been fixed in 3.8.

NB: I first opened a question on SO ->
Date User Action Args
2018-11-30 17:25:41Delgansetrecipients: + Delgan
2018-11-30 17:25:41Delgansetmessageid: <>
2018-11-30 17:25:41Delganlinkissue35364 messages
2018-11-30 17:25:41Delgancreate