[issue35348] Problems with handling the file command output in platform.architecture()
Ronald Oussoren
report at bugs.python.org
Mon Dec 17 04:06:47 EST 2018
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
> What result of platform.architecture() do you expect for an universal binary?
I honestly don't know. What is the purpose of this functionality in the first place? I have never had a problem where using this function was the right solution.
To be honest I have the same problem with a number of other APIs in this module. As an example, platform.system_alias() looks interesting but has an API that won't work in general (macOS release version cannot be calculated from platform.uname() information, likewise for linux distribution information).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35348>
_______________________________________
More information about the Python-bugs-list
mailing list