GH-145275: add -X pathconfig_warnings and PYTHON_PATHCONFIG_WARNINGS … · python/cpython@eb611a8 · GitHub
Skip to content

Commit eb611a8

Browse files
authored
GH-145275: add -X pathconfig_warnings and PYTHON_PATHCONFIG_WARNINGS (#145277)
1 parent 3ab39d2 commit eb611a8

3 files changed

Lines changed: 52 additions & 0 deletions

File tree

Doc/using/cmdline.rst

Lines changed: 15 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Added the :option:`-X pathconfig_warnings<-X>` and
2+
:envvar:`PYTHON_PATHCONFIG_WARNINGS` options, allowing to disable warnings
3+
from :ref:`sys-path-init`.

Python/initconfig.c

Lines changed: 34 additions & 0 deletions

0 commit comments

Comments
 (0)