gh-145410: Add _sysconfig.get_platform() function (#146145)

On Windows, sysconfig.get_platform() now gets the platform from the
_sysconfig module instead of parsing sys.version string.
5 files changed