[Bug 196526] Re: ubuntu's platform.dist() always returns debian lenny/sid

Bug Watch Updater 196526 at bugs.launchpad.net
Wed May 13 19:09:35 UTC 2015


** Changed in: python
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.6 in Ubuntu.
https://bugs.launchpad.net/bugs/196526

Title:
  ubuntu's platform.dist() always returns debian lenny/sid

Status in Python:
  Fix Released
Status in python2.3 package in Ubuntu:
  Won't Fix
Status in python2.4 package in Ubuntu:
  Fix Released
Status in python2.5 package in Ubuntu:
  Fix Released
Status in python2.6 package in Ubuntu:
  Fix Released
Status in python3.0 package in Ubuntu:
  Fix Released

Bug description:
  ubuntu's python platform module does not support ubuntu, it currently tries to read /etc/*._release (bit more than that, but doesn't really matter) and finds debian, and returns debian lenny/sid. 
  I think some extra heuristics have to be added to the platform module to allow ubuntu to be detected, perhaps through lsb_release? 
  alternatively, an ubuntu_release file should be added and that used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/196526/+subscriptions



More information about the foundations-bugs mailing list