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 jcrmatos
Recipients jcrmatos, paul.moore, pmpp, steve.dower, tim.golden, zach.ware
Date 2019-02-05.16:45:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549385156.66.0.934356445044.issue35896@roundup.psfhosted.org>
In-reply-to
Content
Then what is the difference between sysconfig.get_platform and sys.platform? When should we use one or the other?

Maybe changing sys.platform to 'win' instead of 'win32', like was done with 'linux' in Python 3.3 (changed from 'linux2' and 'linux3') would be a step in standardization and simplification.

Another one is sys.platform and sysconfig.platform return 'win32' and os.name returns 'nt'. Can't it be changed (in Python 4) to 'win', maybe with a deprecation warning starting in 3.8?
History
Date User Action Args
2019-02-05 16:45:58jcrmatossetrecipients: + jcrmatos, paul.moore, tim.golden, pmpp, zach.ware, steve.dower
2019-02-05 16:45:56jcrmatossetmessageid: <1549385156.66.0.934356445044.issue35896@roundup.psfhosted.org>
2019-02-05 16:45:56jcrmatoslinkissue35896 messages
2019-02-05 16:45:56jcrmatoscreate