Message324614
If os.name == 'nt' is True on IronPython then why not simply do:
mswindows = sys.platform == "win32" or os.name == "nt"
For the record, both variants are used in different places in cPython source code. It would nice to figure out a golden standard and apply it everywhere. Maybe even add it as a new WINDOWS constant in the platform module. |
|
Date |
User |
Action |
Args |
2018-09-05 09:06:26 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, gregory.p.smith, amaury.forgeotdarc, pitrou, vstinner, dino.viehland, r.david.murray, midnightdf, Jim.Jewett, zach.ware |
2018-09-05 09:06:25 | giampaolo.rodola | set | messageid: <1536138385.98.0.56676864532.issue8110@psf.upfronthosting.co.za> |
2018-09-05 09:06:25 | giampaolo.rodola | link | issue8110 messages |
2018-09-05 09:06:25 | giampaolo.rodola | create | |
|