This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ned.deily, ronaldoussoren, vstinner
Date 2018-11-28.23:05:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543446348.26.0.788709270274.issue35344@psf.upfronthosting.co.za>
In-reply-to
Content
It seems like platform.mac_ver() can return None if plistlist is not available. platform.platform() can maybe try mac_ver(), but fallback on uname() if it's not available/working?

--

It seems like getting the macOS version without plistlib is not easy:
https://stackoverflow.com/questions/11072804/how-do-i-determine-the-os-version-at-runtime-in-os-x-or-ios-without-using-gesta
History
Date User Action Args
2018-11-28 23:05:48vstinnersetrecipients: + vstinner, ronaldoussoren, ned.deily
2018-11-28 23:05:48vstinnersetmessageid: <1543446348.26.0.788709270274.issue35344@psf.upfronthosting.co.za>
2018-11-28 23:05:48vstinnerlinkissue35344 messages
2018-11-28 23:05:48vstinnercreate