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 <rep...@bugs.python.org> <http://bugs.python.org/issue7850> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com