[issue35348] Problems with handling the file command output in platform.architecture()

STINNER Victor report at bugs.python.org
Thu Nov 29 09:27:12 EST 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Why does platform has to analyze sys.executable binary to check if it's 32 or 64 bits? Can't we use sizeof(void*) for example? Is it something related to FAT binary on macOS? (single binary for 32 and 64 bits, or single binary for PPC and x86)

----------

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


More information about the Python-bugs-list mailing list