STINNER Victor added the comment:

"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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28468>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to