Message138730
> That's exactly my point.
> Code checking sys.platform against 'linux2' is already broken, there's
> no point in complicating the code further, or adding a new constant.
> If you want to check for a specific operating system, there's already
> platform.system().
I would agree with this. Perhaps the documentation for sys.platform could be changed to mention that platform.system() should maybe be used instead. |
|
Date |
User |
Action |
Args |
2011-06-20 15:22:25 | rosslagerwall | set | recipients:
+ rosslagerwall, lemburg, loewis, amaury.forgeotdarc, pitrou, vstinner, jwilk, ezio.melotti, eric.araujo, Arfrever, neologix |
2011-06-20 15:22:25 | rosslagerwall | set | messageid: <1308583345.84.0.39287057122.issue12326@psf.upfronthosting.co.za> |
2011-06-20 15:22:25 | rosslagerwall | link | issue12326 messages |
2011-06-20 15:22:25 | rosslagerwall | create | |
|