Message136626
> 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 |
|
Date |
User |
Action |
Args |
2011-05-23 13:06:07 | vstinner | set | recipients:
+ vstinner, lemburg, pitrou, neologix, rosslagerwall |
2011-05-23 13:06:07 | vstinner | set | messageid: <1306155967.28.0.782949914698.issue12158@psf.upfronthosting.co.za> |
2011-05-23 13:06:06 | vstinner | link | issue12158 messages |
2011-05-23 13:06:06 | vstinner | create | |
|