[issue1322] platform.dist() has unpredictable result under Linux
report at bugs.python.org
Wed Mar 18 18:13:31 CET 2009
Matthias Klose <doko at debian.org> added the comment:
MAL, please can we add zooko's patch in some form? The current
implementation assumes an implementation, which doesn't exist on all
platforms, and just dividing linux distributions in "unsupported" and
"supported" seems to be odd.
You cite some URL's in platform.py:
"Linux System Base-compliant systems should have a file called
/etc/lsb_release, which may be in addition to a distribution-
The standard doesn't say anything like this.
This is one implementation, not more. The current platform.py
implementation seems to require this particular implementation.
The only relevant URL is missing in this file:
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list