[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

Marc-Andre Lemburg report at bugs.python.org
Thu Aug 5 10:29:32 CEST 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

I think we'll start to use the lsb_release command if available and as suggested in issue1322.

Note that if you test the API, make sure that you use a Python build from sources available on python.org - the Debian and Ubuntu packagers tend to patch Python in their distributions (just like RedHat and others do) and we don't really want to hunt down bugs/problems that are not relevant to our code base.

----------

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


More information about the Python-bugs-list mailing list