This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zooko
Recipients benjamin.peterson, bgomes, christian.heimes, draghuram, georg.brandl, lemburg, pavel.vinogradov, sapetnioc, zooko
Date 2008-09-23.20:19:10
SpamBayes Score 2.3911107e-06
Marked as misclassified No
Message-id <1222201151.41.0.531980345458.issue1322@psf.upfronthosting.co.za>
In-reply-to
Content
> Because that's exactly what lsb_release does as well.

You must know something about common lsb_release implementations that I
don't.  As far as I saw in the LSB documentation, it is required to
print out information in a certain format, but how it is implemented is
totally up to the distribution in question.

You give examples of SuSE and Fedora as not having /etc/lsb-release
files, and I'm sure you are right, but I happen to know that both of
them have compliant lsb_release executables (and that they have had for
many releases).  So, the patch that I've submitted will definitely work
correctly for those two distributions, although it will pay the price of
having to spawn a subprocess and then wait for the lsb_release
executable to do its work (however it does it).

However, presumably your SuSE- and Fedora- specific techniques will give
correct answers on those platforms faster than the generic lsb_release
would.
History
Date User Action Args
2008-09-23 20:19:11zookosetrecipients: + zooko, lemburg, georg.brandl, draghuram, christian.heimes, sapetnioc, benjamin.peterson, pavel.vinogradov, bgomes
2008-09-23 20:19:11zookosetmessageid: <1222201151.41.0.531980345458.issue1322@psf.upfronthosting.co.za>
2008-09-23 20:19:10zookolinkissue1322 messages
2008-09-23 20:19:10zookocreate