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 lemburg
Recipients lemburg, neologix, pitrou, rosslagerwall, vstinner
Date 2011-05-23.13:30:13
SpamBayes Score 0.007141607
Marked as misclassified No
Message-id <4DDA6161.5090604@egenix.com>
In-reply-to <1306157255.86.0.897299228515.issue12158@psf.upfronthosting.co.za>
Content
STINNER Victor wrote:
> 
> STINNER Victor <victor.stinner@haypocalc.com> added the comment:
> 
> Use "%s.%s.%s" % linux_version() if you would like to format the version. The format is well defined. (You should only do that under Linux.)

No, please follow the API conventions in that module and use a string.

You can then use linux_version().split('.') in code that want to
do version comparisons.

Thanks,
-- 
Marc-Andre Lemburg
eGenix.com

________________________________________________________________________
2011-06-20: EuroPython 2011, Florence, Italy               28 days to go

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/
History
Date User Action Args
2011-05-23 13:30:13lemburgsetrecipients: + lemburg, pitrou, vstinner, neologix, rosslagerwall
2011-05-23 13:30:13lemburglinkissue12158 messages
2011-05-23 13:30:13lemburgcreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.