[issue27338] python 2.7 platform.system reports wrong on Mac OS X El Capitan

Audric D'Hoest (Dr. Pariolo) report at bugs.python.org
Thu Jun 16 15:29:31 EDT 2016


Audric D'Hoest (Dr. Pariolo) added the comment:

Hello Ned,

That is a brilliant answer!

After reporting this initially, I tried with 3.5.1, and uname... Convinced it was a 2.7.1, I could not be more wrong! What a stupid and confusing output does the OS report.

platform.mac_ver() does the trick!

thank you!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27338>
_______________________________________


More information about the Python-bugs-list mailing list