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 pmpp
Recipients jcrmatos, paul.moore, pmpp, steve.dower, tim.golden, zach.ware
Date 2019-02-05.17:17:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549387062.61.0.234004037769.issue35896@roundup.psfhosted.org>
In-reply-to
Content
> what is the difference

sys.platform is defined by code path taken while compiling. it is hardcoded and really represents the os abi used of a *supported* platform, it is to be trusted.

while sysconfig.get_platform() try to guess from various sources with more or less success.

> changing sys.platform
on windows there are a number of different abi ( eg  msvc (32/64 supported) / cygwin / mingw / midipix  .... ) and one should expect sys.platform to point to the correct one.

The maintainers ( like steve.dower ) help choose carrefully those codes and ensure they will always work, so i think you have been answered.
History
Date User Action Args
2019-02-05 17:17:43pmppsetrecipients: + pmpp, paul.moore, tim.golden, zach.ware, steve.dower, jcrmatos
2019-02-05 17:17:42pmppsetmessageid: <1549387062.61.0.234004037769.issue35896@roundup.psfhosted.org>
2019-02-05 17:17:42pmpplinkissue35896 messages
2019-02-05 17:17:42pmppcreate