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, pmpp, r.david.murray, vstinner
Date 2020-11-24.13:52:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> android and aosp, termux are also linux distributions without /etc/os-release

I replied ealier. It's fine that platform.freedesktop_os_release() (I prefer a name with two underscores :-)) raises an error on embedded Linux distributions. Usually, when you work on embedded devices, you fully control your toolkit and what is shipped on it.

For Android, there is already function.

Open question: is Android a Linux distribution? ;-)

> the only thing reliable there is probably sysconfig.get_config_vars('MULTIARCH') when properly used.

It looks unrelated. It doesn't provide the Linux distribution name or version.
Date User Action Args
2020-11-24 13:52:39vstinnersetrecipients: + vstinner, doko, christian.heimes, r.david.murray, pmpp, matrixise, cstratak
2020-11-24 13:52:39vstinnersetmessageid: <>
2020-11-24 13:52:39vstinnerlinkissue28468 messages
2020-11-24 13:52:39vstinnercreate