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 vstinner
Recipients lemburg, neologix, pitrou, rosslagerwall, vstinner
Date 2011-05-23.13:06:06
SpamBayes Score 0.0015483177
Marked as misclassified No
Message-id <1306155967.28.0.782949914698.issue12158@psf.upfronthosting.co.za>
In-reply-to
Content
> The returned value should be a version string in a fixed format,
> not a tuple. I'd suggest to use _norm_version() for this.

How do you compare version strings? I prefer tuples, as sys.version_info, because the comparaison is more natural:

>>> '2.6.9' > '2.6.20'
True
>>> (2, 6, 9) > (2, 6, 20)
False
History
Date User Action Args
2011-05-23 13:06:07vstinnersetrecipients: + vstinner, lemburg, pitrou, neologix, rosslagerwall
2011-05-23 13:06:07vstinnersetmessageid: <1306155967.28.0.782949914698.issue12158@psf.upfronthosting.co.za>
2011-05-23 13:06:06vstinnerlinkissue12158 messages
2011-05-23 13:06:06vstinnercreate