This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, cstratak, doko, matrixise, vstinner
Date 2016-10-18.12:39:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476794362.98.0.485482566579.issue28468@psf.upfronthosting.co.za>
In-reply-to
Content
"This is not available everywhere, not even on Linux distributions. Why would you implement something which only works on 50% of existing Linux distributions?"

According to http://0pointer.de/blog/projects/os-release systemd requires /etc/os-release. Since all major Linux distribution now use systemd, it makes sense to me to add such function.

We can document that the feature is specific to Linux (or don't declare the function on Linux?), document that it only works on recent versions of Linux distributions, and document that it doesn't work on all Linux distributions.
History
Date User Action Args
2016-10-18 12:39:23vstinnersetrecipients: + vstinner, doko, christian.heimes, matrixise, cstratak
2016-10-18 12:39:22vstinnersetmessageid: <1476794362.98.0.485482566579.issue28468@psf.upfronthosting.co.za>
2016-10-18 12:39:22vstinnerlinkissue28468 messages
2016-10-18 12:39:22vstinnercreate