]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35344: platform.platform() uses mac_ver() on macOS (GH-10780)
authorVictor Stinner <vstinner@redhat.com>
Wed, 5 Dec 2018 21:41:52 +0000 (22:41 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Dec 2018 21:41:52 +0000 (22:41 +0100)
commitea0ca218b0c28b2af2b1f6a5d3383569de7fc2c1
treea24104d328f8f9288fe7bef507eff49cb25a80e1
parent40a61da40d252626f8b9ff524d76c1f0ccb3a4f7
bpo-35344: platform.platform() uses mac_ver() on macOS (GH-10780)

On macOS, platform.platform() now uses mac_ver(), if it returns a
non-empty release string, to get the macOS version rather than darwin
version.
Doc/library/platform.rst
Lib/platform.py
Lib/test/test_platform.py
Misc/NEWS.d/next/Library/2018-11-29-00-23-25.bpo-35344.4QOPJQ.rst [new file with mode: 0644]