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 christian.heimes
Recipients christian.heimes, cstratak, matrixise
Date 2016-10-18.09:51:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476784290.45.0.560761435833.issue28468@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not suggesting a generic platform detection function but rather a limited function just for os-release. On platforms without /etc/os-release the function should obviously fail and raise an exception. 
/etc/os-release is available on distributions without systemd. Even my oldest Debian installation on a Raspberry Pi has it.

A large majority of Linux distributions has the file. It's available on Debian, Fedora, RHEL 6+, Ubuntu 14.04+ and many more.
History
Date User Action Args
2016-10-18 09:51:30christian.heimessetrecipients: + christian.heimes, matrixise, cstratak
2016-10-18 09:51:30christian.heimessetmessageid: <1476784290.45.0.560761435833.issue28468@psf.upfronthosting.co.za>
2016-10-18 09:51:30christian.heimeslinkissue28468 messages
2016-10-18 09:51:30christian.heimescreate