Public bug reported:
Binary package hint: python2.4
>>> import platform
>>> platform.dist()
('debian', 'testing/unstable', '')
It appears it is retrieving this information from /etc/debian_version.
In my opinion, this should return ('ubuntu', '6.06', 'dapper') as it
would help to distinguish between Ubuntu versions in python scripts.
platform.py should probably be informed about /etc/lsb-release but I
guess that's a decision for upstream.
** Affects: python2.4 (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
platform module reports imprecise distribution information
https://launchpad.net/bugs/54692
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs