]> granicus.if.org Git - python/commit
bpo-38236: Dump path config at first import error (GH-16300)
authorVictor Stinner <vstinner@redhat.com>
Mon, 23 Sep 2019 12:45:47 +0000 (14:45 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Sep 2019 12:45:47 +0000 (14:45 +0200)
commitfcdb027234566c4d506d6d753c7d5638490fb088
treef2de660712a5fb27687ffbc804e63bc3c445d961
parentb4d0b39a9b4cd203bcc5b236dc96456e9658119a
bpo-38236: Dump path config at first import error (GH-16300)

Python now dumps path configuration if it fails to import the Python
codecs of the filesystem and stdio encodings.
Doc/c-api/init_config.rst
Include/internal/pycore_pathconfig.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