[issue7850] platform.system() should be "macosx" instead of "Darwin" on OSX
Ronald Oussoren
report at bugs.python.org
Mon Feb 11 10:04:59 EST 2019
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
This issue can be closed. Status quo wins due to backward compatibility concerns.
BTW. The primary reason for proposing "macosx" as the return value for platform.system() is that the platform name as used in egg files (at the time, now wheels) is "macosx". That, and having two clearly different platforms with the same name (macOS and iOS).
And one final note: I definitely wouldn't mind having an API in platform that returns the marketing name and version of the current system (like mac_ver and linux_distribution). But that API cannot be system_alias because its API contract does not give it access to enough information. Such an API could be designed in a new issue.
----------
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue7850>
_______________________________________
More information about the Python-bugs-list
mailing list