This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Justin.Cappos, jackdied, lemburg, ronaldoussoren
Date 2010-02-22.22:35:03
SpamBayes Score 0.0022182718
Marked as misclassified No
Message-id <1266878105.13.0.219860621185.issue7850@psf.upfronthosting.co.za>
In-reply-to
Content
platform.system() is a direct interface to platform.uname() which in return is an interface to the platform's uname() API, so the reasoning is much the same as for sys.platform on those platforms that do expose a uname() function (and command).

On Mac OS X, uname returns "Darwin".

What we can do, is add a new function parameter ''aliased'' (just like we have for platform.platform()) which then enables applying some aliasing to the returned uname() values.
History
Date User Action Args
2010-02-22 22:35:05lemburgsetrecipients: + lemburg, ronaldoussoren, jackdied, Justin.Cappos
2010-02-22 22:35:05lemburgsetmessageid: <1266878105.13.0.219860621185.issue7850@psf.upfronthosting.co.za>
2010-02-22 22:35:03lemburglinkissue7850 messages
2010-02-22 22:35:03lemburgcreate