From: Victor Stinner Date: Fri, 25 Apr 2025 18:13:47 +0000 (+0200) Subject: gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965) X-Git-Tag: v3.14.0b1~278 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f0485de43ad7403bb74824f445d2cf1f3d192904;p=thirdparty%2FPython%2Fcpython.git gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965) Log also the Py_REMOTE_DEBUG macro. --- diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py index 195551e74228..682815c3fdd6 100644 --- a/Lib/test/pythoninfo.py +++ b/Lib/test/pythoninfo.py @@ -146,6 +146,8 @@ def collect_sys(info_add): text = 'No (sys.getobjects() missing)' info_add('build.Py_TRACE_REFS', text) + info_add('sys.is_remote_debug_enabled', sys.is_remote_debug_enabled()) + def collect_platform(info_add): import platform @@ -528,6 +530,7 @@ def collect_sysconfig(info_add): 'Py_DEBUG', 'Py_ENABLE_SHARED', 'Py_GIL_DISABLED', + 'Py_REMOTE_DEBUG', 'SHELL', 'SOABI', 'TEST_MODULES',