]> granicus.if.org Git - python/commit
bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. (GH-11859)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 31 May 2019 08:29:39 +0000 (11:29 +0300)
committerGitHub <noreply@github.com>
Fri, 31 May 2019 08:29:39 +0000 (11:29 +0300)
commit38ab7d4721b422547f7b46b9d68968863fa70573
treeaac2c1543f721338b6cf665e9d289ccad43a8af6
parentba0430211f5101c9d748d72b03926ca79c5252a8
bpo-31829: Make protocol 0 pickles be loadable in text mode in Python 2. (GH-11859)

Escape ``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) in Unicode strings.
Lib/pickle.py
Lib/test/pickletester.py
Misc/NEWS.d/next/Library/2017-10-21-12-07-56.bpo-31829.6IhP-O.rst [new file with mode: 0644]
Modules/_pickle.c