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 jaraco
Recipients jaraco
Date 2016-11-20.15:55:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479657323.42.0.875075153657.issue28752@psf.upfronthosting.co.za>
In-reply-to
Content
On Python 3.5, the datetime would reduce and restore cleanly.

$ python3.5 -c "import datetime; func, params = datetime.datetime.now().__reduce__(); func(*params)"

With Python 3.6.0b3, it now fails with a TypeError.

$ python3.6 -c "import datetime; func, params = datetime.datetime.now().__reduce__(); func(*params)"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: an integer is required (got type bytes)
History
Date User Action Args
2016-11-20 15:55:23jaracosetrecipients: + jaraco
2016-11-20 15:55:23jaracosetmessageid: <1479657323.42.0.875075153657.issue28752@psf.upfronthosting.co.za>
2016-11-20 15:55:23jaracolinkissue28752 messages
2016-11-20 15:55:23jaracocreate