]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 7 Dec 2018 13:53:32 +0000 (05:53 -0800)
committerSerhiy Storchaka <storchaka@gmail.com>
Fri, 7 Dec 2018 13:53:32 +0000 (15:53 +0200)
commit19f6e83bf03b3ce22300638906bd90dd2dd5c463
treefee889e9d2a88605ef8804f7f84966343d4033c4
parent10665544a97b6616898faafc12ac9d06505d0690
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017) (GH-11022) (GH-11024)

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