]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36301: Error if decoding pybuilddir.txt fails (GH-12422)
authorVictor Stinner <vstinner@redhat.com>
Tue, 19 Mar 2019 00:46:25 +0000 (01:46 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2019 00:46:25 +0000 (01:46 +0100)
commit5f9cf23502febe0eb3bc02e45c7d2bfc79424757
tree66e3e75c52201876c33fb90c9036420687f60dfb
parent7b14f0c02ce9d919c503119db190dbca0e703393
bpo-36301: Error if decoding pybuilddir.txt fails (GH-12422)

Python initialization now fails if decoding pybuilddir.txt
configuration file fails at startup.

_PyPathConfig_Calculate() now reports memory allocation failure and
decoding error on decoding pybuilddir.txt content from
UTF-8/surrogateescape.
Include/internal/pycore_fileutils.h
Misc/NEWS.d/next/Core and Builtins/2019-03-19-00-54-31.bpo-36301.xvOCJb.rst [new file with mode: 0644]
Modules/getpath.c
Objects/unicodeobject.c
Python/pathconfig.c