Matthias Klose 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? Who would even use that? And for what would you use it?  You 
have a distro module available now from PyPi, you can use that one instead, and 
it gives 100% correct results for all currently known distros, and can be 
updated independent of Python releases.

If it's that a simple function, then please implement it for your own needs.  I 
think it's bad style too, to rely on specific distro and release information 
instead of checking release names and versions.  Such a style should not be 
encouraged in the standard lib from my point of view.

nosy: +doko

Python tracker <>
Python-bugs-list mailing list

Reply via email to