[issue28468] Add platform.freedesktop_osrelease()

STINNER Victor report at bugs.python.org
Tue Nov 24 08:27:40 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

"How to Check Linux Version" article:
https://linuxize.com/post/how-to-check-linux-version/

* lsb_release command <= is it still used nowadays?
* /etc/os-release file <= this PR
* /etc/issue file
* hostnamectl command
* /etc/*release file <= covered by the PyPI distro module
* uname command <= platform.uname()

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28468>
_______________________________________


More information about the Python-bugs-list mailing list