Message136626
| 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: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 |
|