]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-22005: Fixed unpickling instances of datetime classes pickled by Python...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 7 Dec 2018 12:56:02 +0000 (14:56 +0200)
committerGitHub <noreply@github.com>
Fri, 7 Dec 2018 12:56:02 +0000 (14:56 +0200)
commit0d5730e6437b157f4aeaf5d2e67abca23448c29a
tree42a1f8633486dbbe36131f7ea522c72b69438426
parent602d307ac5e8a2da38a193dca3bdfef5994dfe67
[3.7] bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022)

encoding='latin1' should be used for successful decoding.
(cherry picked from commit 8452ca15f41061c8a6297d7956df22ab476d4df4)
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