bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2.#11017
Conversation
…Python 2. errors='surrogateescape' should be used for successful decoding.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
…ed by Python 2. (pythonGH-11017) encoding='latin1' should be used for successful decoding.. (cherry picked from commit 8452ca1) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
GH-11022 is a backport of this pull request to the 3.7 branch. |
…ed by Python 2. (pythonGH-11017) (pythonGH-11022) encoding='latin1' should be used for successful decoding. (cherry picked from commit 8452ca1) (cherry picked from commit 0d5730e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
|
encoding='latin1' should be used for successful decoding.
(This is a copy of #794).
https://bugs.python.org/issue22005