]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38236: Dump path config at first import error (GH-16300) (GH-16332)
authorVictor Stinner <vstinner@redhat.com>
Mon, 23 Sep 2019 13:59:00 +0000 (15:59 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Sep 2019 13:59:00 +0000 (15:59 +0200)
commitc5c642565e260477ae2fb29d0c86a91e19702ae3
treeb0ff8adcdf73332394a51288b3c9cef7373a9117
parentfe9089a08b6dd6dd1ba8b238afc2fc4dfaac689e
bpo-38236: Dump path config at first import error (GH-16300) (GH-16332)

Python now dumps path configuration if it fails to import the Python
codecs of the filesystem and stdio encodings.

(cherry picked from commit fcdb027234566c4d506d6d753c7d5638490fb088)
Doc/c-api/init_config.rst
Include/internal/pycore_pathconfig.h
Include/internal/pycore_pylifecycle.h
Misc/NEWS.d/next/Core and Builtins/2019-09-20-19-06-23.bpo-38236.eQ0Tmj.rst [new file with mode: 0644]
Objects/unicodeobject.c
PC/getpathp.c
Python/initconfig.c
Python/pylifecycle.c