From: Victor Stinner Date: Wed, 5 Dec 2018 22:21:54 +0000 (+0100) Subject: bpo-35389: test.pythoninfo logs platform.libc_ver (GH-10951) X-Git-Tag: v3.8.0a1~339 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=848acf7249b5669d73d70a7cb6e5ab60689cf825;p=thirdparty%2FPython%2Fcpython.git bpo-35389: test.pythoninfo logs platform.libc_ver (GH-10951) --- diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py index 9befd12e4095..81fca10eaeb1 100644 --- a/Lib/test/pythoninfo.py +++ b/Lib/test/pythoninfo.py @@ -144,6 +144,10 @@ def collect_platform(info_add): info_add('platform.platform', platform.platform(aliased=True)) + libc_ver = ('%s %s' % platform.libc_ver()).strip() + if libc_ver: + info_add('platform.libc_ver', libc_ver) + def collect_locale(info_add): import locale