]> granicus.if.org Git - python/commit
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 7 Dec 2018 11:42:10 +0000 (13:42 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Dec 2018 11:42:10 +0000 (13:42 +0200)
commit8452ca15f41061c8a6297d7956df22ab476d4df4
tree5c90cf33bbe31772f0a6b131d7de8bc433fea7a8
parent4c49da0cb7434c676d70b9ccf38aca82ac0d64a9
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017)

encoding='latin1' should be used for successful decoding.
Doc/library/pickle.rst
Lib/datetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2017-10-12-22-39-55.bpo-22005.lGP-sc.rst [new file with mode: 0644]
Modules/_datetimemodule.c