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 ronaldoussoren
Recipients ronaldoussoren
Date 2010-02-03.22:40:09
SpamBayes Score 8.741464e-08
Marked as misclassified No
Message-id <1265236812.59.0.190434450591.issue7850@psf.upfronthosting.co.za>
In-reply-to
Content
The output of platform.system() should IMO be "macosx" on OSX to ensure that platform.platform() is consistent with distutils.util.get_platform().

The same is true for sys.platform, although it is unclear how much code that would break.

There are two reasons for wanting these changes. First of all the values tend to end up at locations where less sophistated users might see them unless we're careful (tests for 'sys.platform' in scripts, platform names in distributions, ...) and 'darwin' is not obviously related to MacOSX unless you're already quite technical.   The other reason is slightly nit picking: "Darwin" is the name of the kernel and a stand-alone unix based on that, which MacOSX is the name of the entire system which includes much more beyond basic unix stuff.


BTW. I know why sys.platform is "darwin" on OSX, that doesn't mean I have to like it ;-)
History
Date User Action Args
2010-02-03 22:40:12ronaldoussorensetrecipients: + ronaldoussoren
2010-02-03 22:40:12ronaldoussorensetmessageid: <1265236812.59.0.190434450591.issue7850@psf.upfronthosting.co.za>
2010-02-03 22:40:10ronaldoussorenlinkissue7850 messages
2010-02-03 22:40:09ronaldoussorencreate