[issue28468] Add platform.freedesktop_osrelease()

STINNER Victor report at bugs.python.org
Wed Nov 25 05:17:30 EST 2020


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

Marc-Andre Lemburg:
> It's not pointless. The rate of change in the field is why this
> particular API did not work out in practice. It was working fine
> at the time I added it, but then quickly became unmaintainable.

Please look at the history of the os-release file. The os-release file format exists for 8 years and has not changed in 8 years.

It seems like you are referring to /etc/*release files. I agree that these files are causing a lot of maintenance troubles, and... that's exactly why os-release file has been standardized and created.

So I don't get your point.

----------

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


More information about the Python-bugs-list mailing list