[issue7850] platform.system() should be "macosx" instead of "Darwin" on OSX

Nicholas Chammas report at bugs.python.org
Sat Jan 30 20:08:41 EST 2016


Nicholas Chammas added the comment:

As of Python 3.5.1 [0], it looks like

1) the `aliased` and `terse` parameters of `platform.platform()` are documented to take integers instead of booleans (contrary to what Marc-Andre requested), and 

2) calling `platform.platform()` with `aliased` set to 1 or True still returns "Darwin" on OS X.

Is this by design?

[0] https://docs.python.org/3.5/library/platform.html#platform.platform

----------
nosy: +Nicholas Chammas

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


More information about the Python-bugs-list mailing list