[issue35344] platform: get macOS version rather than darwin version?

Ronald Oussoren report at bugs.python.org
Wed Nov 28 19:18:35 EST 2018


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

Why do you want to change this?

The current behavior is consistent with the platform name (Darwin). I’ve filed an issue in the past to change the platform name to “macosx”, but there were good arguments to not change the behavior at the time. The existence of iOS might change that though. 

W.r.t. failing when the Plist is not present: that is unlikely to happen because this is a system file that is hard to remove and is AFAIK documented to exist. 

If the platform version info gets changed, the platform name should change as well. 

Ps. Sorry about the lack of references, I’m away from my computer.

----------

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


More information about the Python-bugs-list mailing list