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 steve.dower
Recipients jafo, paul.moore, shireenrao, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2019-08-06.17:09:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1565111382.22.0.430913898014.issue25172@roundup.psfhosted.org>
In-reply-to
Content
`sys.platform` is the value that reflects how Python was compiled - `sys.platform == 'win32'` means compiled for Windows. And since this issue is related to compilation, it makes the most sense to use sys.

(`os.name` is also based on compilation, but it really only reflects the POSIX implementation in use, which is why sys is better.)
History
Date User Action Args
2019-08-06 17:09:42steve.dowersetrecipients: + steve.dower, terry.reedy, paul.moore, jafo, tim.golden, zach.ware, shireenrao
2019-08-06 17:09:42steve.dowersetmessageid: <1565111382.22.0.430913898014.issue25172@roundup.psfhosted.org>
2019-08-06 17:09:42steve.dowerlinkissue25172 messages
2019-08-06 17:09:42steve.dowercreate