[issue22005] datetime.__setstate__ fails decoding python2 pickle

Edward O report at bugs.python.org
Mon Jul 21 17:07:33 CEST 2014


Edward O added the comment:

The code works when using encoding='bytes'. Thanks Tim for the suggestion.

So this is not a bug, but is there any sense in having encoding='ASCII' by default in pickle ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22005>
_______________________________________


More information about the Python-bugs-list mailing list