]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-28468: Add platform.freedesktop_os_release() (GH-23492)
authorChristian Heimes <christian@python.org>
Mon, 30 Nov 2020 21:34:45 +0000 (22:34 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 21:34:45 +0000 (22:34 +0100)
commit5c73afc36ee6cca41009a510092e1f901c5dc0a0
treeeb72eecfbbaf3809eead8a972f47064272b34fe3
parent9bdc40ee3e0d886fb62b5334e8a88c1fe9460ba0
bpo-28468: Add platform.freedesktop_os_release() (GH-23492)

Add platform.freedesktop_os_release() function to parse freedesktop.org
os-release files.

Signed-off-by: Christian Heimes <christian@python.org>
Co-authored-by: Victor Stinner <vstinner@python.org>
Doc/library/platform.rst
Doc/whatsnew/3.10.rst
Lib/platform.py
Lib/test/test_platform.py
Misc/NEWS.d/next/Library/2020-11-24-13-18-05.bpo-28468.8Gh2d4.rst [new file with mode: 0644]