[issue18987] distutils.utils.get_platform() for 32-bit Python on a 64-bit machine

Michael Felt report at bugs.python.org
Thu Mar 26 09:52:43 EDT 2020


Michael Felt <aixtools at felt.demon.nl> added the comment:

Back again - I understood a lot less then, maybe more now..

iirc, get_platform() asin sysconfig.get_platform() and distutils.util.get_platform() are suppposed to return a suitable PEP425 tag that identifies the ABI of the running interpreter - eg.g, 32-bit even though operating on 64-bot OS and hardware.

As far as AIX goes, for years this was not the case. More recently (for Python 3.9) the logic has been added so that the bitness of the interpreter can be identified.

i.e., on AIX `get_platform()` now returns:
'aix-5307-0747-64' - where the 64 (or 32) identifies the bitness of the interpreter.

So, my question now - are the PEP425 tags returned by other platforms adequate? If yes, then I see little reason to not close this issue as resolved (elsewhere).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18987>
_______________________________________


More information about the Python-bugs-list mailing list