From: Victor Stinner Date: Wed, 29 Oct 2025 12:29:10 +0000 (+0100) Subject: gh-140702: Log color and GHA env vars in test.pythoninfo (#140747) X-Git-Tag: v3.15.0a2~284 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=376559bf54762d7b6e0a14591a1f284c8f09a855;p=thirdparty%2FPython%2Fcpython.git gh-140702: Log color and GHA env vars in test.pythoninfo (#140747) --- diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py index e8718decf6d6..3befc0f2e633 100644 --- a/Lib/test/pythoninfo.py +++ b/Lib/test/pythoninfo.py @@ -291,6 +291,8 @@ def collect_os(info_add): "DISTUTILS_USE_SDK", "DYLD_LIBRARY_PATH", "ENSUREPIP_OPTIONS", + "FORCE_COLOR", + "GITHUB_ACTIONS", "HISTORY_FILE", "HOME", "HOMEDRIVE", @@ -307,11 +309,13 @@ def collect_os(info_add): "MAKEFLAGS", "MIXERDEV", "MSSDK", + "NO_COLOR", "PATH", "PATHEXT", "PIP_CONFIG_FILE", "PLAT", "POSIXLY_CORRECT", + "PYTHON_COLORS", "PY_SAX_PARSER", "ProgramFiles", "ProgramFiles(x86)",