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.

作者 vstinner
收信人 lemburg, neologix, pitrou, rosslagerwall, vstinner
日期 2011-05-23.13:06:06
SpamBayes Score 0.0015483177
Marked as misclassified
Message-id <1306155967.28.0.782949914698.issue12158@psf.upfronthosting.co.za>
In-reply-to
内容
> 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
历史
日期 用户 动作 参数
2011-05-23 13:06:07vstinner修改recipients: + vstinner, lemburg, pitrou, neologix, rosslagerwall
2011-05-23 13:06:07vstinner修改messageid: <1306155967.28.0.782949914698.issue12158@psf.upfronthosting.co.za>
2011-05-23 13:06:06vstinner链接issue12158 messages
2011-05-23 13:06:06vstinner创建