[New-bugs-announce] [issue39383] Mention Darwin as a potential value for platform.system()

Peter Bittner report at bugs.python.org
Sat Jan 18 12:57:43 EST 2020


New submission from Peter Bittner <peter.bittner at gmx.net>:

The platform module's documentation mentions 'Linux', 'Windows' and 'Java' explicitly as values for `platform.system()`.

https://docs.python.org/3/library/platform.html#platform.system

Given the popularity of macOS among developers, this gives the impression that the module won't detect 'Darwin' as a separate system type; developers may suspect this will be identified also as a "Linux-y" system (or so).

Hence, 'Darwin' should be mentioned explicitly as one of the possible values.

----------
assignee: docs at python
components: Documentation
messages: 360248
nosy: bittner, docs at python
priority: normal
pull_requests: 17448
severity: normal
status: open
title: Mention Darwin as a potential value for platform.system()
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39383>
_______________________________________


More information about the New-bugs-announce mailing list