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

Caelyn McAulay report at bugs.python.org
Tue Apr 15 21:38:31 CEST 2014


Caelyn McAulay added the comment:

Added aliased option to platform.system(). I used the same system_alias method as platform.platform(), so the result of the aliased version will match the system entry of the aliased platform.platform(). 

Added to platform.system unit test to test new functionality. Updated Documentation.

I am not sure if there is anywhere else I need to update the documentation to add this, i.e. if it needs a whatsnews entry (and if so, a pointer to docs on how to add to a whatsnews entry would be appreciated).

----------
keywords: +patch
nosy: +math_foo
Added file: http://bugs.python.org/file34891/aliased_system7850.patch

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


More information about the Python-bugs-list mailing list