Message138308
> > The change to sys.platform=='linux' would break code even on current platforms.
>
> Correct. Compared to introducing 'linux3', I consider this the better
> change - it likely breaks earlier (i.e. when porting to Python 3.3).
FWIW, I also agree that sys.platform == 'linux' would be the better
choice. It seems there's little point having the kernel's major version
there. It's both disruptive and useless (because features are introduced
at any point, not just at new major versions). |
|
Date |
User |
Action |
Args |
2011-06-14 10:28:39 | pitrou | set | recipients:
+ pitrou, lemburg, loewis, amaury.forgeotdarc, vstinner, Arfrever, neologix, rosslagerwall |
2011-06-14 10:28:38 | pitrou | link | issue12326 messages |
2011-06-14 10:28:38 | pitrou | create | |
|