[issue35516] platform.system_alias(): add macOS support

STINNER Victor report at bugs.python.org
Tue Dec 18 05:54:37 EST 2018


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

Ronald Oussoren:
> The patch does not use the version information passed in to calculate the marketing version. That's a problem when passing in low-level information from a system running a different version of macOS (for example passing in the low-level version information from a macOS 10.8 system while the script is running on a macOS 10.14 system).

I abandonned my PR 11187 and I wrote PR 11207 to add a comment explaining why Darwin is not replaced with macOS.

Well, use platform.platform() or platform.mac_ver() to get the macOS version ;-)

----------

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


More information about the Python-bugs-list mailing list