This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients belopolsky, jaraco, serhiy.storchaka
Date 2016-11-20.17:34:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> Other way is to define __reduce_ex__ instead of __reduce__ in

Sorry, I was wrong. This would wouldn't work with C implementation. And explicitly setting __reduce__ = object.__reduce__ doesn't work. The only way is to define both __reduce_ex__ and __reduce__ for time and datewtime.
Date User Action Args
2016-11-20 17:34:51serhiy.storchakasetrecipients: + serhiy.storchaka, jaraco, belopolsky
2016-11-20 17:34:51serhiy.storchakasetmessageid: <>
2016-11-20 17:34:51serhiy.storchakalinkissue28752 messages
2016-11-20 17:34:51serhiy.storchakacreate