> I’m not against changing this, but would like an implementation that returns consistent information: either return “macOS” and the macOS version, or “Darwin” and the kernel version.
See my PR 10780. It returns "macOS-10.13.6-x86_64" (macOS + macOS version) if mac_ver() works, or "Darwin-17.7.0-x86_64" otherwise (Darwin + darwin version).
> Btw. macOS Mojave is the latest macOS release, 10.14, released in September or October.
"sw_vers" and platform.mac_ver() confirmed what I guessed: I didn't upgrade yet :-) |