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

Marc-Andre Lemburg report at bugs.python.org
Mon May 5 09:48:01 CEST 2014


Marc-Andre Lemburg added the comment:

Caelyn: Thanks for the patch.

Some comments:

* Please use aliased=False instead of aliased=0 in the patch.
* It would be great if you could enhance the test a bit to actually check the return value. This would need a mock of the os.uname API for the test.
* Doc string "if "aliased" is true" should read "If aliased is true"

----------

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


More information about the Python-bugs-list mailing list