This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients Jim.Jewett, amaury.forgeotdarc, dino.viehland, giampaolo.rodola, gregory.p.smith, midnightdf, pitrou, r.david.murray, vstinner, zach.ware
Date 2018-09-05.09:06:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536138385.98.0.56676864532.issue8110@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-09-05 09:06:26giampaolo.rodolasetrecipients: + giampaolo.rodola, gregory.p.smith, amaury.forgeotdarc, pitrou, vstinner, dino.viehland, r.david.murray, midnightdf, Jim.Jewett, zach.ware
2018-09-05 09:06:25giampaolo.rodolasetmessageid: <1536138385.98.0.56676864532.issue8110@psf.upfronthosting.co.za>
2018-09-05 09:06:25giampaolo.rodolalinkissue8110 messages
2018-09-05 09:06:25giampaolo.rodolacreate