summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Library/2017-10-21-12-07-56.bpo-31829.6IhP-O.rst
blob: aefb8aec16fd114bb78b7dae35cd50563c5d979e (plain)
1
2
3
``\r``, ``\0`` and ``\x1a`` (end-of-file on Windows) are now escaped in
protocol 0 pickles of Unicode strings. This allows to load them without loss
from files open in text mode in Python 2.