summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-19 00:46:25 (GMT)
committerGitHub <noreply@github.com>2019-03-19 00:46:25 (GMT)
commit5f9cf23502febe0eb3bc02e45c7d2bfc79424757 (patch)
tree66e3e75c52201876c33fb90c9036420687f60dfb /Misc
parent7b14f0c02ce9d919c503119db190dbca0e703393 (diff)
downloadcpython-5f9cf23502febe0eb3bc02e45c7d2bfc79424757.zip
cpython-5f9cf23502febe0eb3bc02e45c7d2bfc79424757.tar.gz
cpython-5f9cf23502febe0eb3bc02e45c7d2bfc79424757.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-03-19-00-54-31.bpo-36301.xvOCJb.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-03-19-00-54-31.bpo-36301.xvOCJb.rst b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-00-54-31.bpo-36301.xvOCJb.rst
new file mode 100644
index 0000000..84e4b8a
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-03-19-00-54-31.bpo-36301.xvOCJb.rst
@@ -0,0 +1,2 @@
+Python initialization now fails if decoding ``pybuilddir.txt`` configuration
+file fails at startup.