Message99860
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. |
|
Date |
User |
Action |
Args |
2010-02-22 22:35:05 | lemburg | set | recipients:
+ lemburg, ronaldoussoren, jackdied, Justin.Cappos |
2010-02-22 22:35:05 | lemburg | set | messageid: <1266878105.13.0.219860621185.issue7850@psf.upfronthosting.co.za> |
2010-02-22 22:35:03 | lemburg | link | issue7850 messages |
2010-02-22 22:35:03 | lemburg | create | |
|