[issue1322] platform.dist() has unpredictable result under Linux

Marc-Andre Lemburg report at bugs.python.org
Mon Jan 6 11:24:27 CET 2014


Marc-Andre Lemburg added the comment:

Another example on openSUSE 12.3:

# lsb-release -a
LSB Version:    n/a
Distributor ID: openSUSE project
Description:    openSUSE 12.3 (x86_64)
Release:        12.3
Codename:       Dartmouth

This would result in ('openSUSE project', '11.4', 'x86_64'). I don't think
such distribution name changes are useful in practice. The existing
linux_distribution() code always returns 'SuSE' for these (and likewise
for other distributions).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1322>
_______________________________________


More information about the Python-bugs-list mailing list