diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-09-23 12:45:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 12:45:47 (GMT) |
commit | fcdb027234566c4d506d6d753c7d5638490fb088 (patch) | |
tree | f2de660712a5fb27687ffbc804e63bc3c445d961 /Include | |
parent | b4d0b39a9b4cd203bcc5b236dc96456e9658119a (diff) | |
download | cpython-fcdb027234566c4d506d6d753c7d5638490fb088.zip cpython-fcdb027234566c4d506d6d753c7d5638490fb088.tar.gz cpython-fcdb027234566c4d506d6d753c7d5638490fb088.tar.bz2 |
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.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_pathconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_pathconfig.h b/Include/internal/pycore_pathconfig.h index a2c488c..61b3790 100644 --- a/Include/internal/pycore_pathconfig.h +++ b/Include/internal/pycore_pathconfig.h @@ -60,6 +60,7 @@ extern wchar_t* _Py_GetDLLPath(void); #endif extern PyStatus _PyPathConfig_Init(void); +extern void _Py_DumpPathConfig(PyThreadState *tstate); #ifdef __cplusplus } |